Browse Source

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

Bernhard Reutner-Fischer 18 years ago
parent
commit
4cf81d9970
1 changed files with 2 additions and 4 deletions
  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)
 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
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif
-endif
 endif # BR2_PREFER_IMA=y
 endif # BR2_PREFER_IMA=y
 
 
 TARGETS+=gcc_target
 TARGETS+=gcc_target