Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their
object files do not get built with -fpic.
This commit is contained in:
parent
f237a80d8a
commit
3b29525a79
@ -4,6 +4,7 @@ include $(top_builddir)/src/Makefile.global
|
||||
|
||||
|
||||
override CPPFLAGS := -I$(srcdir) -I$(srcdir)/.. $(CPPFLAGS)
|
||||
override CFLAGS += $(CFLAGS_SL)
|
||||
|
||||
SUBOBJS = spell.o
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user