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:
Brian West 2010-03-17 16:17:00 +00:00
parent 5bb9d2062e
commit d3bfbecf2e
1 changed files with 1 additions and 1 deletions

View File

@ -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))