Skip to contentSkip to conversation

gcc: drop gcc 4.5 specific code

PATCH New Thomas Petazzoni 3 participants 3 messages Mar 8, 2016 – Mar 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/gcc/gcc.mk | 9 ---------
 1 file changed, 9 deletions(-)
package/gcc/gcc.mk +0 -9
index 07883d0..0fb73c9 100644
@@ -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)
Signature · 1 line
2.6.4
#1 lore raw

PATCH 1/1 gcc: drop gcc 4.5 specific code

thomas, All,

On 2016-03-08 23:30 +0100, Thomas Petazzoni spake thusly:

Quoted 5 lines

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.

Regards,
Yann E. MORIN.

Quoted 31 lines
---
 package/gcc/gcc.mk | 9 ---------
 1 file changed, 9 deletions(-)
package/gcc/gcc.mk +0 -9
index 07883d0..0fb73c9 100644
@@ -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)
Signature · 6 lines
2.6.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'