Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk i386 is PIE now since I am turning PaX ASLR/MPROTEC...



details:   https://anonhg.NetBSD.org/src/rev/653d9ce9ab70
branches:  trunk
changeset: 815481:653d9ce9ab70
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 20 01:36:16 2016 +0000

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

diffstat:

 share/mk/bsd.own.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7c98f38b783c -r 653d9ce9ab70 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu May 19 21:39:15 2016 +0000
+++ b/share/mk/bsd.own.mk       Fri May 20 01:36:16 2016 +0000
@@ -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 @@
 #
 # 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



Home | Main Index | Thread Index | Old Index