[PATCH] fix install path of libgcc
Zhang Le
r0bertz@gentoo.org
Mon Oct 13 21:01:00 GMT 2008
Hi, all,
The relevant discussion could be found here:
http://gcc.gnu.org/ml/gcc/2008-10/msg00199.html
I have already tested. ok for trunk?
Zhang Le
-------------- next part --------------
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 5fc628b..a9ff11f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-12 Zhang Le <r0bertz@gentoo.org>
+
+ * Makefile.in: get version from gcc/BASE-VER
+
2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
* config.host: Fold `*-*-gnu*' cases into the Linux ones.
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 5718a50..eec5496 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -184,7 +184,7 @@ export RANLIB_FOR_TARGET
export libsubdir
export slibdir
-version := $(shell $(CC) -dumpversion)
+version := $(shell cat $(srcdir)/../gcc/BASE-VER)
ifeq ($(decimal_float),yes)
ifeq ($(enable_decimal_float),bid)
More information about the Gcc-patches
mailing list