summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-15 17:07:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-15 17:07:58 +0000
commitcf7f7beef09cac77f6c9235e61abbbacd7f4b06b (patch)
tree79c07ebcd440fd357202162ae53da9af184bb8dd
parentbf1e141d36b8475f2b74381f9795521d972b82ab (diff)
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>