diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-04 20:34:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-04 20:34:26 +0000 |
commit | 3b29525a799d4c7ccd80e8867fd18d618e683485 (patch) | |
tree | 6fad5faed7763e728e127e2961e16e87900a1212 | |
parent | f237a80d8ae7bcde1089583dfcb74e2447e3c0a2 (diff) | |
download | postgresql-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/Makefile | 1 | ||||
-rw-r--r-- | contrib/tsearch2/snowball/Makefile | 1 | ||||
-rw-r--r-- | contrib/tsearch2/wordparser/Makefile | 1 |
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 |