mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
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:
parent
5b82047b66
commit
ddd0cfaf0e
6
Makefile
6
Makefile
|
@ -94,7 +94,7 @@ POSTGIS_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS) U
|
|||
|
||||
#---------------------------------------------------------------
|
||||
|
||||
override CFLAGS += -g -fexceptions
|
||||
override CFLAGS += -g -fexceptions
|
||||
override CFLAGS += -I$(srcdir) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
|
||||
override CFLAGS += -DUSE_VERSION=$(USE_VERSION)
|
||||
|
||||
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue