summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.3.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-02-02 10:32:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:29:59 +0000
commit8d57d1d8def66510d1a330f18761509ce014e148 (patch)
tree90ac13ab9f7d159ff42eb5758454e439512b8c72 /meta/recipes-devtools/gcc/gcc-5.3.inc
parenteb134c6ee6cab23ca01b699d3ca08b7ffd021cb2 (diff)
downloadpoky-8d57d1d8def66510d1a330f18761509ce014e148.tar.gz
gcc: Fix build on musl with -fstack-protector
When enabling the secutity flags on musl based targets the builds fail due to libssp(gcc-runtime) build asking to link with libssp and libssp_nonshared.a when configuring libssp itself. This does not work with musl since it does provide ssp implementation but not like glibc where these libraries are separate to libc Fix the nios2 patch with upstream status while at it and generate the patch after applying to my tree (From OE-Core rev: 77fb841f2e747dc7fb5e9234d870a7a32a74d09b) 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.3.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.3.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc
index 80999c1111..e12bfad1e3 100644
--- a/meta/recipes-devtools/gcc/gcc-5.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-5.3.inc
@@ -76,7 +76,8 @@ SRC_URI = "\
76 file://0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch \ 76 file://0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch \
77 file://0045-Support-for-arm-linux-musl.patch \ 77 file://0045-Support-for-arm-linux-musl.patch \
78 file://0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch \ 78 file://0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch \
79 file://0047-Fix-nios2-musl-build.patch \ 79 file://0047-nios2-Define-MUSL_DYNAMIC_LINKER.patch \
80 file://0048-ssp_nonshared.patch \
80 " 81 "
81 82
82BACKPORTS = "" 83BACKPORTS = ""