summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-04 15:23:26 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-04 15:23:26 +0000
commit57c672d433f15f03abdc7082f8f40eb21563606d (patch)
treee9dbbd3ea32c03553252a7d64457d999b3e4e483 /toolchain/gcc/Makefile.in
parent8e44251b301b0e08ec94fb8fa1c75d7551c3ae62 (diff)
- allow intermodule also for 4.1
Diffstat (limited to 'toolchain/gcc/Makefile.in')
-rw-r--r--toolchain/gcc/Makefile.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
index c325b6a43..29617eeab 100644
--- a/toolchain/gcc/Makefile.in
+++ b/toolchain/gcc/Makefile.in
@@ -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