From: Michael Büsch Date: Sat, 23 Oct 2010 20:30:43 +0000 (+0000) Subject: Add HOST_FPIC. It currently always is -fPIC, because that should work on all platform... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74;p=openwrt%2Fstaging%2Fluka.git Add HOST_FPIC. It currently always is -fPIC, because that should work on all platforms, even if it may generate slightly inefficient code on some arches. SVN-Revision: 23598 --- diff --git a/rules.mk b/rules.mk index 7d3516bc42..23445bfaee 100644 --- a/rules.mk +++ b/rules.mk @@ -47,6 +47,8 @@ else FPIC:=-fpic endif +HOST_FPIC:=-fPIC + ARCH_SUFFIX:= ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),) ARCH_SUFFIX:=_r2