This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |