dbpware-for-solaris/gcc34/src/gcc-3.4.6-new-gas.patch
Tom G. Christensen 80db73058a gcc34: rename and rebuild
This updates the build to use the common gcc build infrastructure.
Additionally the package is renamed from gcc346 to gcc34 to match
tgcwarev2.
2013-11-23 22:18:36 +01:00

13 lines
722 B
Diff

diff -up gcc-3.4.6/gcc/configure.newgas gcc-3.4.6/gcc/configure
--- gcc-3.4.6/gcc/configure.newgas 2005-06-01 18:32:31.000000000 +0200
+++ gcc-3.4.6/gcc/configure 2012-09-09 12:05:30.363537700 +0200
@@ -10577,7 +10577,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