From: Felix Fietkau Date: Wed, 9 Mar 2011 20:36:29 +0000 (+0000) Subject: base-files: only relink libraries if the linaro toolchain is selected X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=8da0d9a9e5f8cda5b653f5980cf9b0670c11f23e base-files: only relink libraries if the linaro toolchain is selected SVN-Revision: 25983 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 086dd32bd8..bf8d30d7b7 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -328,7 +328,9 @@ LIBGCC_A=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc_pic.a) LIBGCC_MAP=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.map) LIBGCC_SO=$(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so.*) ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) - BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*) + ifneq ($(CONFIG_GCC_VERSION_LINARO),) + BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*) + endif endif ifneq ($(BUILD_LIBGCC),)