summaryrefslogtreecommitdiff
path: root/lib/csu/c++
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-05 07:55:34 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-05 07:55:34 +0000
commitd8b91eb9361af49ba83e839cfb823538f3c4538e (patch)
treeaae7849fdf2c0d22a64a007ce72bd550db9c7c3e /lib/csu/c++
parent8f13c46875714a7d059aa791e8b0bed745af8b85 (diff)
Don't use -fpic if NOPIC defined. From Dale Rahn.
Diffstat (limited to 'lib/csu/c++')
-rw-r--r--lib/csu/c++/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/csu/c++/Makefile b/lib/csu/c++/Makefile
index 9bf86196ed0..7a0c8ce35ab 100644
--- a/lib/csu/c++/Makefile
+++ b/lib/csu/c++/Makefile
@@ -1,6 +1,9 @@
-# $Id: Makefile,v 1.1 1995/10/18 08:41:17 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 1996/03/05 07:55:33 niklas Exp $
-CFLAGS+= -DLIBC_SCCS -fpic
+CFLAGS+= -DLIBC_SCCS
+.if !defined(NOPIC)
+CFLAGS+= -fpic
+.endif
OBJS= c++rt0.o
all: ${OBJS}