summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-31 17:16:22 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-31 17:16:22 +0000
commit92be6a8c4b5498c84ccfd644cec3c1572a146917 (patch)
treefb8d7b73634c474ae5576d7b774d911dd89f785d
parent3e2303c4b7aad976c062910cd68c83b254bf08bd (diff)
Enable PIE on amd64, mips64(el) and sparc64.
Most work done by kurt@ some years ago; also, most work committed over the last weeks was based on a diff by him. Cheers, kurt@! Lots and lots of helpful input, comments, feedback and diffs from deraadt@, kettenis@ and matthew@, miod@ and others. Thanks! Bulk builds done by naddy@, sthen@, landry@ and in progress from pea@ and jasper@. Pending architectures are alpha, i386, hppa, arm, sparc and landisk. ok deraadt@
-rw-r--r--share/mk/bsd.own.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index c6f32240d6d..08b2d979ffe 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.124 2012/08/28 16:45:03 pascal Exp $
+# $OpenBSD: bsd.own.mk,v 1.125 2012/08/31 17:16:21 pascal Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -32,7 +32,7 @@ ELF_TOOLCHAIN?= yes
GCC2_ARCH=m68k m88k vax
GCC4_ARCH=alpha amd64 arm avr32 hppa hppa64 i386 ia64 mips64 mips64el powerpc sparc sparc64 sh
BINUTILS217_ARCH=avr32 hppa64 ia64
-PIE_ARCH=
+PIE_ARCH=amd64 mips64 mips64el sparc64
.for _arch in ${MACHINE_ARCH}
.if !empty(GCC2_ARCH:M${_arch})