Added -fPIC to CXXFLAGS. Reported to be needed on Solaris7 w/ gcc-3.3.2

by Havard Tveite <havard.tveite@nlh.no>.


git-svn-id: http://svn.osgeo.org/postgis/trunk@545 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2004-05-04 16:55:39 +00:00
parent 5b82047b66
commit ddd0cfaf0e

View file

@ -112,6 +112,10 @@ override CXXFLAGS := $(CFLAGS)
# for gcc >= 3.2.2 set GLIBCPP_FORCE_NEW at runtime instead
#override CXXFLAGS += -D__USE_MALLOC
# this seems to be needed by gcc3.3.2 / Solaris7 combination
# as reported by Havard Tveite <havard.tveite@nlh.no>
override CXXFLAGS += -fPIC
#---------------------------------------------------------------
# Add index selectivity to C flags
#