Makefile's -fpic only for gcc

This commit is contained in:
Bruce Momjian 1997-01-10 18:19:02 +00:00
parent a0d9bdd99b
commit 59dcac1e5d
1 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# Makefile for lib (miscellaneous stuff)
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.4 1997/01/05 23:53:57 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.5 1997/01/10 18:19:02 momjian Exp $
#
#-------------------------------------------------------------------------
@ -15,7 +15,9 @@ INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../../include
CFLAGS+=$(INCLUDE_OPT) -fpic -DPIC
ifeq ($(CC), gcc)
CFLAGS+=$(INCLUDE_OPT) -fpic -DPIC
endif
OBJS = bit.o fstack.o hasht.o lispsort.o qsort.o stringinfo.o dllist.o