From 56a60a1cbbdffd9b15b913ca95fba3f0f4238704 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 8 Dec 2015 10:29:21 +0100 Subject: [PATCH] musl: as it builds it's own libssp, disable gcc's Signed-off-by: Alejandro Mery --- base/musl/parse-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/musl/parse-config b/base/musl/parse-config index 2a3f47ab1..e43b904b3 100644 --- a/base/musl/parse-config +++ b/base/musl/parse-config @@ -12,8 +12,11 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -if [ "$SDECFG_LIBC" == "musl" ]; then +if [ "$SDECFG_LIBC" = "musl" ]; then if atstage cross; then var_append configcachefile ' ' "$base/package/*/musl/share/config.cache" fi + if [ "$pkg" = gcc ]; then + var_append extraconfopt ' ' '--disable-libssp' + fi fi