summaryrefslogtreecommitdiff
path: root/sys/arch/gumstix
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-22 16:58:27 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-22 16:58:27 +0000
commit71223d576a3275c84f8b5dcd682d871a0e3eaa9a (patch)
treedda22435dd8f43b5ebac3b5ce2f8895d793aabe0 /sys/arch/gumstix
parent85cdc4047a46471a7b4901e113479d36b1154e01 (diff)
Build the kernel with -fno-pie. Just getting Ms out of my tree; this will be
cleaned up later. ok deraadt@
Diffstat (limited to 'sys/arch/gumstix')
-rw-r--r--sys/arch/gumstix/conf/Makefile.gumstix4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/gumstix/conf/Makefile.gumstix b/sys/arch/gumstix/conf/Makefile.gumstix
index 4535ea9718b..ffce110fc17 100644
--- a/sys/arch/gumstix/conf/Makefile.gumstix
+++ b/sys/arch/gumstix/conf/Makefile.gumstix
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.gumstix,v 1.34 2011/11/08 18:41:34 matthieu Exp $
+# $OpenBSD: Makefile.gumstix,v 1.35 2012/08/22 16:58:26 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -30,7 +30,7 @@ CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
CMACHFLAGS= -ffreestanding -msoft-float # -march=armv4 -mtune=strongarm
CMACHFLAGS+= -fno-builtin-printf -fno-builtin-snprintf \
-fno-builtin-vsnprintf -fno-builtin-log \
- -fno-builtin-log2 -fno-builtin-malloc
+ -fno-builtin-log2 -fno-builtin-malloc ${NOPIE_FLAGS}
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
.endif