summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.3.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-28 04:00:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-29 23:20:13 +0100
commit6dff6392d8286a52d2b3cc921dc3939c8e5cc095 (patch)
treeea5f7a3079e2dbea482ab666ce390639789d4f0d /meta/recipes-devtools/gcc/gcc-5.3.inc
parentab206592881ec94a4905c4185933e669219831b7 (diff)
downloadpoky-6dff6392d8286a52d2b3cc921dc3939c8e5cc095.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 (From OE-Core rev: b3f80743cd1b9a15a8ee4d20c2a54c2f6cbcd13c) 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.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 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 = "\
85 file://0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch \ 85 file://0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch \
86 file://0054-support-ffile-prefix-map.patch \ 86 file://0054-support-ffile-prefix-map.patch \
87 file://0055-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ 87 file://0055-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \
88 file://0056-Enable-libc-provide-ssp-and-gcc_cv_target_dl_iterate.patch \
89 file://0057-unwind-fix-for-musl.patch \
88" 90"
89 91
90BACKPORTS = "" 92BACKPORTS = ""
@@ -132,7 +134,6 @@ EXTRA_OECONF_INITIAL = "\
132" 134"
133 135
134EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " 136EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
135EXTRA_OECONF_append_libc-musl = " gcc_cv_libc_provides_ssp=yes gcc_cv_target_dl_iterate_phdr=yes "
136 137
137EXTRA_OECONF_PATHS = "\ 138EXTRA_OECONF_PATHS = "\
138 --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \ 139 --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \