summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 18:30:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 18:30:22 +0000
commitde1e810be59a3d6a45c318fd8cd3b4de1d2d41f6 (patch)
treed5aec5be76d0b877a9c89f820623b258ff4164cc /sys/arch
parentd4a0adecc7367e867b4b2d5d14d94fb1c15b39ae (diff)
minimum CPPFLAGS
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/conf/Makefile.amd646
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index 288a8a055b9..6208aa8f973 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.2 2004/01/28 02:55:57 mickey Exp $
+# $OpenBSD: Makefile.amd64,v 1.3 2004/02/08 18:30:21 deraadt Exp $
# Makefile for OpenBSD
#
@@ -34,15 +34,13 @@ S!= cd ../../../..; pwd
AMD64= $S/arch/amd64
INCLUDES= -nostdinc -I. -I$S/arch -I$S
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -U__NetBSD__ -D__OpenBSD__ \
- -Damd64 -Dx86_64
+CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Damd64 -Dx86_64
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wno-sign-compare
CMACHFLAGS+= -mcmodel=kernel -mno-red-zone -fno-strict-aliasing \
-mno-sse2 -mno-sse -mno-3dnow -mno-mmx -msoft-float \
-fno-builtin-printf -fno-builtin-log
-# -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}