dbpware-for-solaris/gcc41/src/gcc-4.1.2-new-gas.patch
Tom G. Christensen bfcbebf6b6 gcc41: rename and rebuild
This updates the build to use the common gcc build
infrastructure.
Additionally the package is renamed from gcc412 to gcc41
to match tgcwarev2.
2013-11-24 00:23:59 +01:00

13 lines
718 B
Diff

diff -up gcc-4.1.2/gcc/configure.orig gcc-4.1.2/gcc/configure
--- gcc-4.1.2/gcc/configure.orig 2006-11-13 23:09:55.000000000 +0100
+++ gcc-4.1.2/gcc/configure 2012-11-27 14:41:08.040178600 +0100
@@ -14226,7 +14226,7 @@ L2:' > conftest.s
# 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