Hi,

For correctness sake, determine version from BASE-VER file instead of
calling compiler. This allows better toleration with bad Canadian cross
setups where host gcc version is of different version from target.

Patch OK?

Index: gcc-trunk/libgcc/Makefile.in
===================================================================
--- gcc-trunk/libgcc/Makefile.in        (revision 190125)
+++ gcc-trunk/libgcc/Makefile.in        (working copy)
@@ -207,7 +207,7 @@
 export toolexecdir
 export toolexeclibdir

-version := $(shell $(CC) -dumpversion)
+version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)

 ifeq ($(decimal_float),yes)
 ifeq ($(enable_decimal_float),bid)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to