[asterisk-commits] kpfleming: trunk r43166 - /trunk/Makefile.moddir_rules

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Sep 18 08:54:57 MST 2006


Author: kpfleming
Date: Mon Sep 18 10:54:57 2006
New Revision: 43166

URL: http://svn.digium.com/view/asterisk?rev=43166&view=rev
Log:
minor performance improvement for platforms where -fPIC and -fpic are actually different (has no effect on x86/x86-64)

Modified:
    trunk/Makefile.moddir_rules

Modified: trunk/Makefile.moddir_rules
URL: http://svn.digium.com/view/asterisk/trunk/Makefile.moddir_rules?rev=43166&r1=43165&r2=43166&view=diff
==============================================================================
--- trunk/Makefile.moddir_rules (original)
+++ trunk/Makefile.moddir_rules Mon Sep 18 10:54:57 2006
@@ -34,7 +34,7 @@
 
 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)



More information about the asterisk-commits mailing list