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
owl
Michael Büsch 2010-10-23 20:30:43 +00:00
parent 88eadf541f
commit a46c332411
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ else
FPIC:=-fpic FPIC:=-fpic
endif endif
HOST_FPIC:=-fPIC
ARCH_SUFFIX:= ARCH_SUFFIX:=
ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),) ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=_r2 ARCH_SUFFIX:=_r2