diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-06-02 04:33:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-06-02 04:33:40 +0000 |
commit | 4f7aa27597978e96f303b526ce097304ec85fdae (patch) | |
tree | 9edddf0a2d1803e44190e7b5e25c7226f1e8bb3e /share/mk/bsd.own.mk | |
parent | ba436142f18b1c8aaec7ba693ff443b57b21e21f (diff) |
Make sparc go PIE (not `static PIE' yet).
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r-- | share/mk/bsd.own.mk | 10 |
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 |