From 5c292c91ad72b68a7c6e41654ff7e11894cd4f06 Mon Sep 17 00:00:00 2001 From: mirko Date: Fri, 26 Nov 2010 16:42:19 +0000 Subject: [PATCH] [backport 23598] "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." - Since packages use this variable, it needs to be exported in backfire as well git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24148 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.mk b/rules.mk index 5f82f6d80..86c8f8cf6 100644 --- 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