Commit 59dcac1e authored by Bruce Momjian's avatar Bruce Momjian

Makefile's -fpic only for gcc

parent a0d9bdd9
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for lib (miscellaneous stuff) # Makefile for lib (miscellaneous stuff)
# #
# IDENTIFICATION # 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.. \ ...@@ -15,7 +15,9 @@ INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \ -I../port/$(PORTNAME) \
-I../../include -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 OBJS = bit.o fstack.o hasht.o lispsort.o qsort.o stringinfo.o dllist.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment