aboutsummaryrefslogtreecommitdiff
path: root/4.7.2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-21 05:19:17 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-21 05:19:17 +0000
commitd25b7dd9871fe3038c87a8b9a1e1d5ec40557ecd (patch)
treecf97f7db25c75c80ba303fc58a5ced6cc8eba192 /4.7.2
parentfix default armv4 linking behavior (diff)
downloadgcc-patches-d25b7dd9871fe3038c87a8b9a1e1d5ec40557ecd.tar.gz
gcc-patches-d25b7dd9871fe3038c87a8b9a1e1d5ec40557ecd.tar.bz2
gcc-patches-d25b7dd9871fe3038c87a8b9a1e1d5ec40557ecd.zip
fix from upsream for libgcc install paths when doing a canadian cross build
Diffstat (limited to '4.7.2')
-rw-r--r--4.7.2/gentoo/18_all_libgcc-cross-canadian.patch55
-rw-r--r--4.7.2/gentoo/README.history3
2 files changed, 58 insertions, 0 deletions
diff --git a/4.7.2/gentoo/18_all_libgcc-cross-canadian.patch b/4.7.2/gentoo/18_all_libgcc-cross-canadian.patch
new file mode 100644
index 0000000..70a52d1
--- /dev/null
+++ b/4.7.2/gentoo/18_all_libgcc-cross-canadian.patch
@@ -0,0 +1,55 @@
+fix canadian cross compiler builds where libgcc would get installed into the
+version of the compiler we using to build instead of the version we're building.
+
+From d2c6da38e9a897ded013ef69caf57db588605e9f Mon Sep 17 00:00:00 2001
+From: ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 3 Aug 2012 23:42:20 +0000
+Subject: [PATCH] * Makefile.in (version): set to BASE-VER file from gcc
+ directory.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190136 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ libgcc/ChangeLog | 4 ++++
+ libgcc/Makefile.in | 2 +-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
+
+ * Makefile.in (version): set to BASE-VER file from gcc directory.
+
+From 464810a0437a11a7c054bff9eecfecbadf6b9559 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Sat, 4 Aug 2012 05:33:27 +0000
+Subject: [PATCH] Replace top_srcdir with srcdir
+
+ PR driver/54171
+ * Makefile.in (version): Replace top_srcdir with srcdir.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190140 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ libgcc/ChangeLog | 5 +++++
+ libgcc/Makefile.in | 2 +-
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR driver/54171
+ * Makefile.in (version): Replace top_srcdir with srcdir.
+
+diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
+index 22af1b4..fb7f9bd 100644
+--- a/libgcc/Makefile.in
++++ b/libgcc/Makefile.in
+@@ -207,7 +207,7 @@ export slibdir
+ export toolexecdir
+ export toolexeclibdir
+
+-version := $(shell $(CC) -dumpversion)
++version := $(shell cat $(srcdir)/../gcc/BASE-VER)
+
+ ifeq ($(decimal_float),yes)
+ ifeq ($(enable_decimal_float),bid)
+--
+1.8.2.1
+
diff --git a/4.7.2/gentoo/README.history b/4.7.2/gentoo/README.history
index 8ebd96b..0001fc2 100644
--- a/4.7.2/gentoo/README.history
+++ b/4.7.2/gentoo/README.history
@@ -1,3 +1,6 @@
+1.7 [pending]
+ + 18_all_libgcc-cross-canadian.patch
+
1.6 19 Apr 2013
+ 30_all_arm_armv4-no-thumb-fix-link.patch