aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-10-23 20:30:43 +0000
committerMichael Büsch <mb@bu3sch.de>2010-10-23 20:30:43 +0000
commita46c332411bcfa9daf71ec6edd7d1bf8dbb38a74 (patch)
treec851cfd182f6703041408f6a8c38de28a14bbe4f
parent88eadf541f9cbd2646e49dacd76665d17ee4b92b (diff)
downloadupstream-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.tar.gz
upstream-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.tar.bz2
upstream-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.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.
SVN-Revision: 23598
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
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