From fe737d0a2c4ecc3edf6cc6d6ff620a7aaa4e89ba Mon Sep 17 00:00:00 2001 From: niklas Date: Tue, 5 Mar 1996 07:55:33 +0000 Subject: [PATCH] Don't use -fpic if NOPIC defined. From Dale Rahn. --- lib/csu/c++/Makefile | 7 +++++-- 1 file 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} -- 2.20.1