From: Kevin P. Fleming Date: Mon, 18 Sep 2006 15:54:57 +0000 (+0000) Subject: minor performance improvement for platforms where -fPIC and -fpic are actually differ... X-Git-Tag: 1.4.0-beta1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c80d09559fff19dad720704161afb1a8876ebcd2;p=thirdparty%2Fasterisk.git minor performance improvement for platforms where -fPIC and -fpic are actually different (has no effect on x86/x86-64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43166 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules index 5f60470c86..bf76ee316e 100644 --- a/Makefile.moddir_rules +++ b/Makefile.moddir_rules @@ -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)