summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthieu <matthieu@openbsd.org>2010-05-15 17:07:57 +0000
committermatthieu <matthieu@openbsd.org>2010-05-15 17:07:57 +0000
commitf209694549ebd601d9c303eee16b6ce06bb63770 (patch)
treedcb95c4c849a2d39b8ddbeb6afe1c48456729503
parentvarious improvements regarding errors and warnings Joerg Sonnenberger: (diff)
downloadwireguard-openbsd-f209694549ebd601d9c303eee16b6ce06bb63770.tar.xz
wireguard-openbsd-f209694549ebd601d9c303eee16b6ce06bb63770.zip
We really want position independant objects in libsupc++.a.
ok espie@
-rw-r--r--gnu/lib/libsupc++-v3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/lib/libsupc++-v3/Makefile b/gnu/lib/libsupc++-v3/Makefile
index fdf51e889d5..be7f39a7757 100644
--- a/gnu/lib/libsupc++-v3/Makefile
+++ b/gnu/lib/libsupc++-v3/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2010/05/15 08:23:59 robert Exp $
+# $OpenBSD: Makefile,v 1.2 2010/05/15 17:07:57 matthieu Exp $
.include "${.CURDIR}/../libstdc++-v3/Makefile.common"
@@ -8,4 +8,8 @@ LIB= supc++
# Pulled from Makefile.common
SRCS= ${SUPSRCS}
+# Build a standard .a lib with PIC objects
+NOPIC=
+CFLAGS+= ${PICFLAG}
+
.include <bsd.lib.mk>