fPIC is your friend
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17027 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5bb9d2062e
commit
d3bfbecf2e
|
@ -26,7 +26,7 @@ cflags-from-includes = $(addprefix -I,$(1))
|
||||||
ldflags-from-ldlibdirs = $(addprefix -L,$(1))
|
ldflags-from-ldlibdirs = $(addprefix -L,$(1))
|
||||||
ldlibs-from-libs = $(addprefix -l,$(1))
|
ldlibs-from-libs = $(addprefix -l,$(1))
|
||||||
|
|
||||||
CFLAGS += -Wall -enable-threads -O3
|
CFLAGS += -Wall -enable-threads -O3 -fPIC
|
||||||
|
|
||||||
CFLAGS += $(call cflags-from-defines,$(CDEFINES))
|
CFLAGS += $(call cflags-from-defines,$(CDEFINES))
|
||||||
CFLAGS += $(call cflags-from-includes,$(CINCLUDES))
|
CFLAGS += $(call cflags-from-includes,$(CINCLUDES))
|
||||||
|
|
Loading…
Reference in New Issue