Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Turn on PIE for all arm and sh3
details: https://anonhg.NetBSD.org/src/rev/54172a51b9c6
branches: trunk
changeset: 817641:54172a51b9c6
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 28 14:22:35 2016 +0000
description:
Turn on PIE for all arm and sh3
diffstat:
share/mk/bsd.own.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 031906451698 -r 54172a51b9c6 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Aug 28 14:16:15 2016 +0000
+++ b/share/mk/bsd.own.mk Sun Aug 28 14:22:35 2016 +0000
@@ -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 @@
#
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
- ${MACHINE} == "evbarm" || \
+ ${MACHINE_CPU} == "arm" || \
+ ${MACHINE_CPU} == "sh3" || \
${MACHINE} == "sparc64"
MKPIE?= yes
.else
Home |
Main Index |
Thread Index |
Old Index