Commit 4cf81d99 authored by Bernhard Reutner-Fischer's avatar Bernhard Reutner-Fischer
Browse files

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

parent 5e1f034b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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