minor performance improvement for platforms where -fPIC and -fpic are actually different (has no effect on x86/x86-64)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43166 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
ae554f3370
commit
84ff6b300b
|
@ -34,7 +34,7 @@ endef
|
|||
|
||||
define module_so_template
|
||||
$(1)=$(1).so
|
||||
$(1).so: CFLAGS+=-fPIC
|
||||
$(1).so: CFLAGS+=-fpic
|
||||
$(1).so: LIBS+=$(foreach dep,$(MENUSELECT_DEPENDS_$(1)),$$(value $(dep)_LIB))
|
||||
$(1).so: LDFLAGS+=$(foreach dep,$(MENUSELECT_DEPENDS_$(1)),$$(value $(dep)_LDFLAGS))
|
||||
$(1).so: $(2)
|
||||
|
|
Reference in New Issue