diff options
author | Michael Büsch <mb@bu3sch.de> | 2010-10-23 20:30:43 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2010-10-23 20:30:43 +0000 |
commit | b935c0d30f4b95d4daac3e877a95f4376656ae02 (patch) | |
tree | d144ed0168dd83d09397749d545701a371e08ff3 | |
parent | 313b48a4eccd2c53ef58494403b8e9a413f49347 (diff) | |
download | upstream-b935c0d30f4b95d4daac3e877a95f4376656ae02.tar.gz upstream-b935c0d30f4b95d4daac3e877a95f4376656ae02.tar.bz2 upstream-b935c0d30f4b95d4daac3e877a95f4376656ae02.zip |
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23598 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ else FPIC:=-fpic endif +HOST_FPIC:=-fPIC + ARCH_SUFFIX:= ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),) ARCH_SUFFIX:=_r2 |