summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.own.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 069357449d6..31213058377 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.168 2015/06/01 17:36:19 miod Exp $
+# $OpenBSD: bsd.own.mk,v 1.169 2015/06/02 04:33:39 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -20,10 +20,8 @@ DEBUGLIBS?= no
GCC3_ARCH=m88k vax
# arm needs binutils-2.17, which still lacks W^X support
-# sparc has not been tried
-# m88k unknown
-# hppa64 unknown
-PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc64
+# gcc3 lacks PIE support
+PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc sparc64
STATICPIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc64
.for _arch in ${MACHINE_ARCH}
@@ -139,7 +137,7 @@ ASPICFLAG=-KPIC
.endif
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
- ${MACHINE_ARCH} == "sparc64"
+ ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
# big PIE
DEFAULT_PIE_DEF=-DPIE_DEFAULT=2
.else