diff options
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.patch | 26 |
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 |