Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Add missing .if so MKPIE is only defaulting to yes ...
details: https://anonhg.NetBSD.org/src/rev/910a78c71322
branches: trunk
changeset: 344691:910a78c71322
user: martin <martin%NetBSD.org@localhost>
date: Mon Apr 11 11:46:17 2016 +0000
description:
Add missing .if so MKPIE is only defaulting to yes on amd64 for now
diffstat:
share/mk/bsd.own.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 8768f3f40962 -r 910a78c71322 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Mon Apr 11 10:53:06 2016 +0000
+++ b/share/mk/bsd.own.mk Mon Apr 11 11:46:17 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.919 2016/04/10 15:32:27 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.920 2016/04/11 11:46:17 martin Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1051,7 +1051,12 @@
#
# PIE is enabled on amd64 by default
#
+.if ${MACHINE_ARCH} == "x86_64"
MKPIE?= yes
+.else
+MKPIE?= no
+.endif
+
#
# MK* options which default to "yes".
#
Home |
Main Index |
Thread Index |
Old Index