mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 20:01:55 +00:00
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:
+1
-1
@@ -26,7 +26,7 @@ cflags-from-includes = $(addprefix -I,$(1))
|
||||
ldflags-from-ldlibdirs = $(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-includes,$(CINCLUDES))
|
||||
|
||||
Reference in New Issue
Block a user