summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-02-03 04:36:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:29:44 +0000
commitf1cdd7bf1d9351005867b5c77c05fdddfc9656fd (patch)
tree1137e42796b4eff963e7a300db5b6dd258b66f33
parent61ef8212cc6880f502f1e05e2683d232ea782ae4 (diff)
downloadopenembedded-core-f1cdd7bf1d9351005867b5c77c05fdddfc9656fd.tar.gz
openembedded-core-f1cdd7bf1d9351005867b5c77c05fdddfc9656fd.tar.bz2
openembedded-core-f1cdd7bf1d9351005867b5c77c05fdddfc9656fd.zip
gcc: Assume libssp and dl_iterate_phdr on musl
gcc configure fails to set these settings correctly on musl based builds Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.3.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc
index e12bfad1e3..83e061f44f 100644
--- a/meta/recipes-devtools/gcc/gcc-5.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-5.3.inc
@@ -123,6 +123,7 @@ EXTRA_OECONF_INITIAL = "\
"
EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
+EXTRA_OECONF_append_libc-musl = " gcc_cv_libc_provides_ssp=yes gcc_cv_target_dl_iterate_phdr=yes "
EXTRA_OECONF_PATHS = "\
--with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \