diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 07:19:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 07:19:42 +0000 |
commit | a73b902f6911c747f2dcdb2be2a337c6dcb7faad (patch) | |
tree | 35dac705187ba6af7bba750389905c0e8c466e84 /usr.bin/chpass | |
parent | b72850cfbb6858b6d2bdc318c5a02fbb85f5cf48 (diff) |
Supply DEF_WEAK() macro to suppress warnings during compilation via
reach-around into libc
noted by daniel@
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r-- | usr.bin/chpass/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 75c0d7ff1df..59ed17061f8 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2008/07/04 12:50:23 djm Exp $ +# $OpenBSD: Makefile,v 1.13 2015/09/14 07:19:41 guenther Exp $ .include <bsd.own.mk> @@ -19,4 +19,5 @@ LDADD+= -lrpcsvc -lutil .include <bsd.prog.mk> getpwent.o: getpwent.c - ${COMPILE.c} -UYP ${.CURDIR}/../../lib/libc/gen/getpwent.c + ${COMPILE.c} -UYP -D'DEF_WEAK(x)=asm("")' \ + ${.CURDIR}/../../lib/libc/gen/getpwent.c |