Makefile's -fpic only for gcc
This commit is contained in:
parent
a0d9bdd99b
commit
59dcac1e5d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user