Don't use -fpic if NOPIC defined. From Dale Rahn.
authorniklas <niklas@openbsd.org>
Tue, 5 Mar 1996 07:55:33 +0000 (07:55 +0000)
committerniklas <niklas@openbsd.org>
Tue, 5 Mar 1996 07:55:33 +0000 (07:55 +0000)
lib/csu/c++/Makefile

index 60b0380..7a0c8ce 100644 (file)
@@ -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}