Browse Source

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
Michael Büsch 15 years ago
parent
commit
a46c332411
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rules.mk

+ 2 - 0
rules.mk

@@ -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