summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
index 29617eeab..b050f80d8 100644
--- a/toolchain/gcc/Makefile.in
+++ b/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