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 | a46c332411bcfa9daf71ec6edd7d1bf8dbb38a74 (patch) | |
tree | c851cfd182f6703041408f6a8c38de28a14bbe4f /rules.mk | |
parent | 88eadf541f9cbd2646e49dacd76665d17ee4b92b (diff) | |
download | mtk-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.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 |