From: Felix Fietkau Date: Thu, 11 Dec 2014 17:52:22 +0000 (+0000) Subject: toolchain: disable libatomic for gcc 4.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0636bb43ae06412d33c59fca2c865684aa524258;p=openwrt%2Fstaging%2Fjow.git toolchain: disable libatomic for gcc 4.6 Signed-off-by: Felix Fietkau SVN-Revision: 43623 --- diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index 10c990a126..9a2bf5264a 100644 --- a/package/libs/toolchain/Makefile +++ b/package/libs/toolchain/Makefile @@ -402,7 +402,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) define Package/libatomic/install $(INSTALL_DIR) $(1)/lib - $(if $(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/) + $(if $(CONFIG_GCC_VERSION_4_6)$(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/) endef define Package/libgfortran/install