"Add HOST_FPIC. It currently always is -fPIC, because that should work on all platfor...
authorMirko Vogt <mirko@openwrt.org>
Fri, 26 Nov 2010 16:42:19 +0000 (16:42 +0000)
committerMirko Vogt <mirko@openwrt.org>
Fri, 26 Nov 2010 16:42:19 +0000 (16:42 +0000)
SVN-Revision: 24148

rules.mk

index 5f82f6d80c7d7cc283c743c4b56ac0089e7f6079..86c8f8cf6d7ae8d235f6ec3d949cc88059335823 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -45,6 +45,8 @@ else
   FPIC:=-fpic
 endif
 
+HOST_FPIC:=-fPIC
+
 ARCH_SUFFIX:=
 ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),)
   ARCH_SUFFIX:=_r2