From: Bernhard Reutner-Fischer Date: Sun, 4 Feb 2007 15:23:26 +0000 (-0000) Subject: - allow intermodule also for 4.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57c672d433f15f03abdc7082f8f40eb21563606d;p=buildroot.git - allow intermodule also for 4.1 --- diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in index c325b6a43f..29617eeaba 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