From d64ba370efafd43f1010d23c6a9aec4cb59b9b7a Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 28 Sep 2005 16:20:02 +0000 Subject: If there is some compilation error/warning in ld.so do not allow it to build, ld.so is too fragile and destructive otherwise. --- libexec/ld.so/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/ld.so/Makefile') diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 29beadf5d39..52a303a510a 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 2005/09/23 01:15:03 drahn Exp $ +# $OpenBSD: Makefile,v 1.30 2005/09/28 16:20:01 drahn Exp $ SUBDIR=ldconfig ldd VPATH=${.CURDIR}/../../lib/libc/string @@ -17,7 +17,7 @@ MAN= ld.so.1 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc" .PATH: ${.CURDIR}/${MACHINE_ARCH} -CFLAGS += -Wall +CFLAGS += -Wall -Werror CFLAGS += -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} \ -Dstrsep=_dl_strsep INSTALL_STRIP= -- cgit v1.2.3