-# $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
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}
.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