From: niklas Date: Tue, 5 Mar 1996 07:55:33 +0000 (+0000) Subject: Don't use -fpic if NOPIC defined. From Dale Rahn. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fe737d0a2c4ecc3edf6cc6d6ff620a7aaa4e89ba;p=openbsd Don't use -fpic if NOPIC defined. From Dale Rahn. --- 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}