summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/Makefile.inc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-25 19:20:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-25 19:20:58 +0000
commite36ac8f344dc31e3480af70bdd20643561c9fa44 (patch)
treec80fb47bac0088617073873dd8237f48494db4c7 /sys/arch/i386/stand/Makefile.inc
parentafbd2fd9b7d385cda50f7b241a5ce94cbb2c3255 (diff)
put support for test /boot environment back; some CLEANFILES and spaces
Diffstat (limited to 'sys/arch/i386/stand/Makefile.inc')
-rw-r--r--sys/arch/i386/stand/Makefile.inc9
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