summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-22 00:08:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-22 00:08:18 +0000
commit7609e138cf913e2f5cd0918932a09f12bff16346 (patch)
treed7f3a54cf6680a7351a8331246936481909a53ef /sys/arch/amd64/conf
parent417365bb0d3ebc5ebb03464554e35fb333ed7ff5 (diff)
support -DNO_PROPOLICE
Diffstat (limited to 'sys/arch/amd64/conf')
-rw-r--r--sys/arch/amd64/conf/Makefile.amd645
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index 6208aa8f973..9c47c274589 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.3 2004/02/08 18:30:21 deraadt Exp $
+# $OpenBSD: Makefile.amd64,v 1.4 2004/02/22 00:08:17 deraadt Exp $
# Makefile for OpenBSD
#
@@ -41,6 +41,9 @@ CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
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
+.if ${IDENT:M-DNO_PROPOLICE}
+CMACHFLAGS+= -fno-stack-protector
+.endif
COPTS?= -O2
CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}