summaryrefslogtreecommitdiffstats
path: root/patches/gcc-9-20190831/0300-also-match-uclibc-when-checking-host-os.patch
blob: e5d01a623755dd4ac414331ce4e441a7e3638678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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