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 /lib | |
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 'lib')
-rw-r--r-- | lib/librthread/Makefile | 3 | ||||
-rw-r--r-- | lib/libsndio/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile index f81484f838a..37094c6f116 100644 --- a/lib/librthread/Makefile +++ b/lib/librthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.32 2012/08/15 18:08:22 matthew Exp $ +# $OpenBSD: Makefile,v 1.33 2012/09/12 09:19:54 haesbaert Exp $ # For ``COMPILER_VERSION'' .include <bsd.own.mk> @@ -13,6 +13,7 @@ CFLAGS+=-Wmissing-prototypes CFLAGS+=-Wstrict-prototypes CFLAGS+=-Wsign-compare CFLAGS+=-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include +CDIAGFLAGS= LDADD = -Wl,-znodelete,-zinitfirst,-znodlopen .PATH: ${.CURDIR}/arch/${MACHINE_CPU} diff --git a/lib/libsndio/Makefile b/lib/libsndio/Makefile index 642b8b6382e..ee555ab0958 100644 --- a/lib/libsndio/Makefile +++ b/lib/libsndio/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.8 2011/04/27 21:20:36 ratchov Exp $ +# $OpenBSD: Makefile,v 1.9 2012/09/12 09:19:54 haesbaert Exp $ LIB= sndio MAN= sio_open.3 mio_open.3 sndio.7 SRCS= debug.c aucat.c sio_aucat.c sio_sun.c sio.c \ mio_rmidi.c mio_aucat.c mio.c CFLAGS+=-Wall -Wstrict-prototypes -Werror -Wundef -DDEBUG +CDIAGFLAGS= MLINKS = \ sio_open.3 sio_close.3 \ |