瀏覽代碼

- 4.0.4 *seems* to support this too, so just exclude anything that is even older than that one.

Bernhard Reutner-Fischer 18 年之前
父節點
當前提交
4cf81d9970
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      toolchain/gcc/Makefile.in

+ 2 - 4
toolchain/gcc/Makefile.in

@@ -60,12 +60,10 @@ EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONF
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.1
-ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
-ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
+# >= 4.x
+ifneq ($(findstring 3.,$(GCC_VERSION)),3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-endif
 endif # BR2_PREFER_IMA=y
 
 TARGETS+=gcc_target