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 /sys/arch/amd64 | |
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 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/stand/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index d844ffd6272..a5b46c79408 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch/amd64/stand/Makefile.inc @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.7 2012/08/29 17:45:00 pascal Exp $ +# $OpenBSD: Makefile.inc,v 1.8 2012/09/12 09:19:54 haesbaert Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector +CDIAGFLAGS= CPPFLAGS+=-I${S} -I${SADIR}/libsa -I. -I${.CURDIR} SACFLAGS=-D_STANDALONE DEBUGLIBS=no |