summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-15 18:30:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-22 09:16:00 +0100
commit39df3561d8cb0d6d86d492bb462640cf2f0a760a (patch)
tree117b7f367f69c0ed552521b15e579755517e09f0 /meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch
parentf09b074de8cb25914f996fd34a19d8d695cb0f70 (diff)
downloadpoky-39df3561d8cb0d6d86d492bb462640cf2f0a760a.tar.gz
gcc: Drop 5.4 series
We now have gcc 6 and gcc 7 recipes, the gcc 5 series can be dropped as we're no longer going to support it for targets. (From OE-Core rev: 98183e57dffaa155fc207a28e1c788ff50dc2054) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch b/meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch
deleted file mode 100644
index bad8402ef8..0000000000
--- a/meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From df430b943a2df6b72054c808d4b93338a82562de Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 8 Dec 2015 08:23:34 +0000
4Subject: [PATCH 43/46] libstdc++: Support musl
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 libstdc++-v3/configure.host | 10 ++++++++++
11 1 file changed, 10 insertions(+)
12
13diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
14index 640199c..1756444 100644
15--- a/libstdc++-v3/configure.host
16+++ b/libstdc++-v3/configure.host
17@@ -274,14 +274,24 @@ case "${host_os}" in
18 os_include_dir="os/bsd/freebsd"
19 ;;
20 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21+ # check for musl by target
22+ case "${host_os}" in
23+ *-musl*)
24+ os_include_dir="os/generic"
25+ ;;
26+ *)
27 if [ "$uclibc" = "yes" ]; then
28 os_include_dir="os/uclibc"
29 elif [ "$bionic" = "yes" ]; then
30 os_include_dir="os/bionic"
31+ elif [ "$musl" = "yes" ]; then
32+ os_include_dir="os/generic"
33 else
34 os_include_dir="os/gnu-linux"
35 fi
36 ;;
37+ esac
38+ ;;
39 hpux*)
40 os_include_dir="os/hpux"
41 ;;
42--
432.6.3
44