Module Name:    src
Committed By:   martin
Date:           Mon Apr 11 11:46:17 UTC 2016

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

Log Message:
Add missing .if so MKPIE is only defaulting to yes on amd64 for now


To generate a diff of this commit:
cvs rdiff -u -r1.919 -r1.920 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.919 src/share/mk/bsd.own.mk:1.920
--- src/share/mk/bsd.own.mk:1.919	Sun Apr 10 15:32:27 2016
+++ src/share/mk/bsd.own.mk	Mon Apr 11 11:46:17 2016
@@ -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 @@ MKCTF?=		yes
 #
 # PIE is enabled on amd64 by default
 #
+.if ${MACHINE_ARCH} == "x86_64"
 MKPIE?=		yes
+.else
+MKPIE?=		no
+.endif
+
 #
 # MK* options which default to "yes".
 #

Reply via email to