Module Name: src
Committed By: christos
Date: Sun Aug 28 14:22:35 UTC 2016
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Turn on PIE for all arm and sh3
To generate a diff of this commit:
cvs rdiff -u -r1.947 -r1.948 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.947 src/share/mk/bsd.own.mk:1.948
--- src/share/mk/bsd.own.mk:1.947 Fri Aug 26 12:57:50 2016
+++ src/share/mk/bsd.own.mk Sun Aug 28 10:22:35 2016
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.947 2016/08/26 16:57:50 nonaka Exp $
+# $NetBSD: bsd.own.mk,v 1.948 2016/08/28 14:22:35 christos Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1075,7 +1075,8 @@ MKCTF?= yes
#
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
- ${MACHINE} == "evbarm" || \
+ ${MACHINE_CPU} == "arm" || \
+ ${MACHINE_CPU} == "sh3" || \
${MACHINE} == "sparc64"
MKPIE?= yes
.else