dbpware-for-solaris/gcc40/src/gcc-4.0.4-new-gas.patch
Tom G. Christensen a1791f9367 gcc40: rename and rebuild
This updates the build to use the common gcc build
infrastructure.
Additionally the package is renamed from gcc404 to gcc40
to match tgcwarev2.
2013-11-23 23:51:11 +01:00

12 lines
638 B
Diff

--- gcc-4.0.4/gcc/configure.orig 2008-05-25 16:24:23.893788000 +0200
+++ gcc-4.0.4/gcc/configure 2008-05-25 16:26:23.983888000 +0200
@@ -13419,7 +13419,7 @@
# arbitrary sections are supported and try the test.
as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`
if echo "$as_ver" | grep GNU > /dev/null; then
- as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`
+ as_ver=`echo $as_ver | sed -e 's/GNU assembler.* \([0-9.][0-9.]*\).*/\1/'`
as_major=`echo $as_ver | sed 's/\..*//'`
as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`
if test $as_major -eq 2 && test $as_minor -lt 11