From: mb Date: Sat, 23 Oct 2010 20:30:43 +0000 (+0000) Subject: Add HOST_FPIC. It currently always is -fPIC, because that should work on all platform... X-Git-Tag: fast2504n-3.10.28-merged~10768 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=23f0f29a8e0198f5b3fb0d41ca8144d84ec80b81;p=openwrt.git 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/rules.mk b/rules.mk index 7d3516bc42..23445bfaee 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