minor performance improvement for platforms where -fPIC and -fpic are actually differ...
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 18 Sep 2006 15:54:57 +0000 (15:54 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 18 Sep 2006 15:54:57 +0000 (15:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43166 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile.moddir_rules

index 5f60470..bf76ee3 100644 (file)
@@ -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)