diff options
Diffstat (limited to 'sys/arch/i386/stand/Makefile.inc')
-rw-r--r-- | sys/arch/i386/stand/Makefile.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc index 9c8852115f3..d221c833441 100644 --- a/sys/arch/i386/stand/Makefile.inc +++ b/sys/arch/i386/stand/Makefile.inc @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.21 1998/04/20 13:25:00 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.22 1998/05/25 19:20:45 mickey Exp $ CFLAGS=${DEBUG} -O2 -Wall -Werror CPPFLAGS+=-I${S} -I${SADIR}/libsa -I. -I${.CURDIR} -SACFLAGS=-nostdinc -fno-builtin -fpack-struct -SACFLAGS+=-D_STANDALONE +SACFLAGS=-D_STANDALONE # CPPFLAGS+=-DSAVE_MEMORY # DEBUGFLAGS=-DDEBUG # DEBUGFLAGS+=-DGIDT_DEBUG @@ -21,6 +20,10 @@ BOOTREL=0x60000 BOOTMAGIC=0xdeadbeef #ROM_SIZE=32768 +.if defined(DEBUGFLAGS) && empty(DEBUGFLAGS:M-D_TEST) +SACFLAGS+=-nostdinc -fno-builtin -fpack-struct +.endif + .if exists(${SADIR}/etc/assym.h) CPPFLAGS+=-I${SADIR}/etc .else |