diff options
author | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-09-12 09:19:55 +0000 |
---|---|---|
committer | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-09-12 09:19:55 +0000 |
commit | 85a8e82c65809b85d5851a8b7eabf8e16dbf272e (patch) | |
tree | 134ac1e12fbcbaeecc23ae3fbaa2ffe4a2722994 /libexec/ld.so | |
parent | ffbfc32cccf051b211b583abfe3d862bbfd07e80 (diff) |
Define empty CDIAGFLAGS for programs that use Werror.
Makes "make build" build with WARNINGS=Yes on amd64.
ok espie
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 49fb2826a6f..62dde2b36a2 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.38 2012/08/31 20:09:27 kettenis Exp $ +# $OpenBSD: Makefile,v 1.39 2012/09/12 09:19:54 haesbaert Exp $ SUBDIR=ldconfig ldd @@ -29,6 +29,7 @@ DEBUG?= -g CFLAGS += -Wall -Werror CFLAGS += -I${.CURDIR} -I${.CURDIR}/${MACHINE_CPU} \ -Dstrsep=_dl_strsep +CDIAGFLAGS= INSTALL_STRIP= ELF_LDFLAGS+=--shared -Bsymbolic --no-undefined |