Переглянути джерело

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 роки тому
батько
коміт
a46c332411
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      rules.mk

+ 2 - 0
rules.mk

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