Module Name:    src
Committed By:   christos
Date:           Fri Aug 26 15:41:02 UTC 2016

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

Log Message:
block sun2 from MKPIE!


To generate a diff of this commit:
cvs rdiff -u -r1.945 -r1.946 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.945 src/share/mk/bsd.own.mk:1.946
--- src/share/mk/bsd.own.mk:1.945	Sat Aug 20 07:23:33 2016
+++ src/share/mk/bsd.own.mk	Fri Aug 26 11:41:02 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.945 2016/08/20 11:23:33 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.946 2016/08/26 15:41:02 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -587,6 +587,8 @@ TOOL_ZIC=		zic
 .if defined(BINDIR) && ${BINDIR} == "/usr/mdec"
 NOPIE=			# defined
 NOCTF=			# defined
+.elif ${MACHINE} == "sun2"
+NOPIE=			# we don't have PIC, so no PIE
 .endif
 
 # Fallback to ensure that all variables are defined to something

Reply via email to