aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-04 20:34:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-04 20:34:26 +0000
commit3b29525a799d4c7ccd80e8867fd18d618e683485 (patch)
tree6fad5faed7763e728e127e2961e16e87900a1212
parentf237a80d8ae7bcde1089583dfcb74e2447e3c0a2 (diff)
downloadpostgresql-3b29525a799d4c7ccd80e8867fd18d618e683485.tar.gz
postgresql-3b29525a799d4c7ccd80e8867fd18d618e683485.zip
Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their
object files do not get built with -fpic.
-rw-r--r--contrib/tsearch2/ispell/Makefile1
-rw-r--r--contrib/tsearch2/snowball/Makefile1
-rw-r--r--contrib/tsearch2/wordparser/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tsearch2/ispell/Makefile b/contrib/tsearch2/ispell/Makefile
index a02e6a82ae6..5532359b1cf 100644
--- a/contrib/tsearch2/ispell/Makefile
+++ b/contrib/tsearch2/ispell/Makefile
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
+override CFLAGS += $(CFLAGS_SL)
SUBOBJS = spell.o
diff --git a/contrib/tsearch2/snowball/Makefile b/contrib/tsearch2/snowball/Makefile
index 7ba59e24dcb..156b1b3d399 100644
--- a/contrib/tsearch2/snowball/Makefile
+++ b/contrib/tsearch2/snowball/Makefile
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
+override CFLAGS += $(CFLAGS_SL)
SUBOBJS = english_stem.o api.o russian_stem.o utilities.o
diff --git a/contrib/tsearch2/wordparser/Makefile b/contrib/tsearch2/wordparser/Makefile
index 5322f40696f..56d476525f5 100644
--- a/contrib/tsearch2/wordparser/Makefile
+++ b/contrib/tsearch2/wordparser/Makefile
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
+override CFLAGS += $(CFLAGS_SL)
SUBOBJS = parser.o deflex.o