Skip to content

Commit 3b29525

Browse files
committed
Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their
object files do not get built with -fpic.
1 parent f237a80 commit 3b29525

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

contrib/tsearch2/ispell/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
44

55

66
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
7+
override CFLAGS += $(CFLAGS_SL)
78

89
SUBOBJS = spell.o
910

contrib/tsearch2/snowball/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
44

55

66
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
7+
override CFLAGS += $(CFLAGS_SL)
78

89
SUBOBJS = english_stem.o api.o russian_stem.o utilities.o
910

contrib/tsearch2/wordparser/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
44

55

66
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
7+
override CFLAGS += $(CFLAGS_SL)
78

89
SUBOBJS = parser.o deflex.o
910

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy