diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-06-24 08:53:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:22:44 +0100 |
commit | 1bf0944925dc0bb53b12b0f6623be0401e236e53 (patch) | |
tree | 77a614bca62066e300df6c307251d43dcd20c3ac /meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch | |
parent | 0412b6d90d9eaa424cd0e6b7f205ba7f6622625c (diff) | |
download | openembedded-core-contrib-1bf0944925dc0bb53b12b0f6623be0401e236e53.tar.gz |
gcc5: Upgrade to gcc 5.4
Drop patches which has been applied to gcc5 branch
until 5.4 release
(From OE-Core rev: 42487843f846ae61f8bd1b2278d148ff37f0d667)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.patch | 44 |
1 files changed, 44 insertions, 0 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 new file mode 100644 index 0000000000..bad8402ef8 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch @@ -0,0 +1,44 @@ +From df430b943a2df6b72054c808d4b93338a82562de Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 8 Dec 2015 08:23:34 +0000 +Subject: [PATCH 43/46] libstdc++: Support musl + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + libstdc++-v3/configure.host | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host +index 640199c..1756444 100644 +--- a/libstdc++-v3/configure.host ++++ b/libstdc++-v3/configure.host +@@ -274,14 +274,24 @@ case "${host_os}" in + os_include_dir="os/bsd/freebsd" + ;; + gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) ++ # check for musl by target ++ case "${host_os}" in ++ *-musl*) ++ os_include_dir="os/generic" ++ ;; ++ *) + if [ "$uclibc" = "yes" ]; then + os_include_dir="os/uclibc" + elif [ "$bionic" = "yes" ]; then + os_include_dir="os/bionic" ++ elif [ "$musl" = "yes" ]; then ++ os_include_dir="os/generic" + else + os_include_dir="os/gnu-linux" + fi + ;; ++ esac ++ ;; + hpux*) + os_include_dir="os/hpux" + ;; +-- +2.6.3 + |