summaryrefslogtreecommitdiff
path: root/rules.mk
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 /rules.mk
parent88eadf541f9cbd2646e49dacd76665d17ee4b92b (diff)
downloadmtk-20170518-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.zip
mtk-20170518-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.tar.gz
mtk-20170518-a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74.tar.bz2
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
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 7d3516b..23445bf 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