summaryrefslogtreecommitdiffstats
path: root/patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-12-04 15:18:45 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-12-06 11:30:21 +0100
commit2a5369d2d8931221a528bca176e6cf2b41e18bae (patch)
tree853ec136e04633196d08b4cae746d4468900abd7 /patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch
parent2b83031a9cf9b9dce8fb62e6afb464c3a07264e4 (diff)
downloadOSELAS.Toolchain-2a5369d2d8931221a528bca176e6cf2b41e18bae.tar.gz
OSELAS.Toolchain-2a5369d2d8931221a528bca176e6cf2b41e18bae.tar.xz
gcc: version bump: 9-20190831 -> 9-20191130
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch')
-rw-r--r--patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch b/patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch
new file mode 100644
index 0000000..e5d01a6
--- /dev/null
+++ b/patches/gcc-9-20191130/0300-also-match-uclibc-when-checking-host-os.patch
@@ -0,0 +1,26 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Date: Tue, 1 Nov 2011 18:25:07 +0100
+Subject: [PATCH] also match uclibc when checking host os
+
+This patch was taken from uclibc.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+---
+ contrib/regression/objs-gcc.sh | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh
+index 60b0497fea24..6dc7eadff360 100755
+--- a/contrib/regression/objs-gcc.sh
++++ b/contrib/regression/objs-gcc.sh
+@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ]
+ then
+ make all-gdb all-dejagnu all-ld || exit 1
+ make install-gdb install-dejagnu install-ld || exit 1
++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
++ then
++ make all-gdb all-dejagnu all-ld || exit 1
++ make install-gdb install-dejagnu install-ld || exit 1
+ elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
+ make bootstrap || exit 1
+ make install || exit 1