From: Thomas Petazzoni Date: Tue, 8 Mar 2016 22:30:43 +0000 (+0100) Subject: gcc: drop gcc 4.5 specific code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6e635735dee76f7103f3e30f68e4f2cbf1d1226;p=buildroot.git gcc: drop gcc 4.5 specific code We have removed gcc 4.5 support since a long time, so this commit removes dead code that was only used when building a toolchain based on gcc 4.5. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 07883d074a..0fb73c927f 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -97,15 +97,6 @@ HOST_GCC_COMMON_CONF_ENV = \ GCC_COMMON_TARGET_CFLAGS = $(TARGET_CFLAGS) GCC_COMMON_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) -# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810 -# Workaround until it's fixed in 4.5.4 or later -ifeq ($(ARCH),powerpc) -ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.) -GCC_COMMON_TARGET_CFLAGS = $(filter-out -Os,$(GCC_COMMON_TARGET_CFLAGS)) -GCC_COMMON_TARGET_CXXFLAGS = $(filter-out -Os,$(GCC_COMMON_TARGET_CXXFLAGS)) -endif -endif - # Xtensa libgcc can't be built with -mauto-litpools # because of the trick used to generate .init/.fini sections. ifeq ($(BR2_xtensa),y)