From 85a8e82c65809b85d5851a8b7eabf8e16dbf272e Mon Sep 17 00:00:00 2001 From: "Christiano F. Haesbaert" Date: Wed, 12 Sep 2012 09:19:55 +0000 Subject: Define empty CDIAGFLAGS for programs that use Werror. Makes "make build" build with WARNINGS=Yes on amd64. ok espie --- libexec/ld.so/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libexec/ld.so') 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 -- cgit v1.2.3