diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-03-28 04:00:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-29 23:19:45 +0100 |
commit | b3f80743cd1b9a15a8ee4d20c2a54c2f6cbcd13c (patch) | |
tree | a3f97a4a35c6060a16474cb78b13f69b4e237a5a /meta/recipes-devtools/gcc/gcc-5.3.inc | |
parent | d3867743e7028046454dc135efeefadfa382f463 (diff) | |
download | openembedded-core-b3f80743cd1b9a15a8ee4d20c2a54c2f6cbcd13c.tar.gz |
gcc: Backport fixes for musl ssp configuration
We were trying to inject cached configure variables via
EXTRA_OECONF, but that was not working due to the fact
that gcc configure is called recursively via makefiles
and hence these were getting lost.
These backports from master fixes the problem by
defining the options in configure itself
dl_iterate_phdr is provided by musl as well, so lets
not depend on glibc defines like inhibit_libc alone
Signed-off-by: Khem Raj <raj.khem@gmail.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.inc | 3 |
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 aa011fd03d..4adafd50fe 100644 --- a/meta/recipes-devtools/gcc/gcc-5.3.inc +++ b/meta/recipes-devtools/gcc/gcc-5.3.inc @@ -85,6 +85,8 @@ SRC_URI = "\ file://0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch \ file://0054-support-ffile-prefix-map.patch \ file://0055-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ + file://0056-Enable-libc-provide-ssp-and-gcc_cv_target_dl_iterate.patch \ + file://0057-unwind-fix-for-musl.patch \ " BACKPORTS = "" @@ -132,7 +134,6 @@ 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} \ |