Module Name:    src
Committed By:   christos
Date:           Fri May 20 01:36:16 UTC 2016

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
i386 is PIE now since I am turning PaX ASLR/MPROTECT on.


To generate a diff of this commit:
cvs rdiff -u -r1.924 -r1.925 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.924 src/share/mk/bsd.own.mk:1.925
--- src/share/mk/bsd.own.mk:1.924	Thu May 19 11:38:13 2016
+++ src/share/mk/bsd.own.mk	Thu May 19 21:36:16 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.924 2016/05/19 15:38:13 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.925 2016/05/20 01:36:16 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -1049,7 +1049,9 @@ MKCTF?=		yes
 #
 # PIE is enabled on amd64 by default
 #
-.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "sparc64"
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64" || \
+    ${MACHINE} == "sparc64"
 MKPIE?=		yes
 .else
 MKPIE?=		no

Reply via email to