]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: Assume libssp and dl_iterate_phdr on musl
authorKhem Raj <raj.khem@gmail.com>
Wed, 3 Feb 2016 04:36:14 +0000 (04:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:29:44 +0000 (17:29 +0000)
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>
meta/recipes-devtools/gcc/gcc-5.3.inc

index e12bfad1e3a6ec558e6e2af54c38cc8dbe98d2d6..83e061f44fe195e87e126f0a8a5fe5b465640052 100644 (file)
@@ -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} \