- allow intermodule also for 4.1
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 4 Feb 2007 15:23:26 +0000 (15:23 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 4 Feb 2007 15:23:26 +0000 (15:23 -0000)
toolchain/gcc/Makefile.in

index c325b6a43f6f0a9153e2c48e3c3533c9772f212c..29617eeaba2d1f91602afc2ed8fb189c4d3d57db 100644 (file)
@@ -60,12 +60,11 @@ EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONF
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.2
-ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
+# >= 4.1
+ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
+ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif # BR2_PREFER_IMA=y