summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-02-08 18:30:21 +0000
committerderaadt <deraadt@openbsd.org>2004-02-08 18:30:21 +0000
commita783bd6fb437aa29b3de728b9b03f3030dba3365 (patch)
tree7b72ad5d7cad05a6ba097ef21e253895ed40ccae
parentworkaround for awk breakage no longer needed (diff)
downloadwireguard-openbsd-a783bd6fb437aa29b3de728b9b03f3030dba3365.tar.xz
wireguard-openbsd-a783bd6fb437aa29b3de728b9b03f3030dba3365.zip
minimum CPPFLAGS
-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}