summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-03-05 07:55:33 +0000
committerniklas <niklas@openbsd.org>1996-03-05 07:55:33 +0000
commitfe737d0a2c4ecc3edf6cc6d6ff620a7aaa4e89ba (patch)
tree372198baea8fdcbf40272992ddf525ed806a7eb4 /lib
parent/usr/bin/oldrdist, not /usr/ucb... (diff)
downloadwireguard-openbsd-fe737d0a2c4ecc3edf6cc6d6ff620a7aaa4e89ba.tar.xz
wireguard-openbsd-fe737d0a2c4ecc3edf6cc6d6ff620a7aaa4e89ba.zip
Don't use -fpic if NOPIC defined. From Dale Rahn.
Diffstat (limited to 'lib')
-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 60b03805ee4..7a0c8ce35ab 100644
--- a/lib/csu/c++/Makefile
+++ b/lib/csu/c++/Makefile
@@ -1,6 +1,9 @@
-# $Id: Makefile,v 1.1.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}