summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-09-16 10:55:39 +0000
committerkettenis <kettenis@openbsd.org>2015-09-16 10:55:39 +0000
commita9a316d3a14eef2092573c07a691519fca3d97a3 (patch)
tree8f3b2a0fec51e49e40abd0226b1119aa5db663c2
parentSome cleanup from dhill AT mindcry.org, thanks! (diff)
downloadwireguard-openbsd-a9a316d3a14eef2092573c07a691519fca3d97a3.tar.xz
wireguard-openbsd-a9a316d3a14eef2092573c07a691519fca3d97a3.zip
Enable -msecure-plt by default (on powerpc).
ok pascal@
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 594ac6a2c36..97bbe0a2555 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.88.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.12 2013/05/08 15:30:38 miod Exp $
+# $OpenBSD: Makefile,v 1.13 2015/09/16 10:55:39 kettenis Exp $
.include <bsd.own.mk>
@@ -60,6 +60,7 @@ TARGET_INC+= openbsd.h
TARGET_INC+= openbsd-libpthread.h
TARGET_INC+= openbsd-native.h
.if ${TARGET_ARCH} == "powerpc"
+TARGET_INC+= rs6000/secureplt.h
TARGET_INC+= freebsd-spec.h
.endif
.if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64"