Browse Source

musl: as it builds it's own libssp, disable gcc's

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 9 years ago
parent
commit
56a60a1cbb
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      base/musl/parse-config

+ 4
- 1
base/musl/parse-config

@ -12,8 +12,11 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_LIBC" == "musl" ]; then
if [ "$SDECFG_LIBC" = "musl" ]; then
if atstage cross; then if atstage cross; then
var_append configcachefile ' ' "$base/package/*/musl/share/config.cache" var_append configcachefile ' ' "$base/package/*/musl/share/config.cache"
fi fi
if [ "$pkg" = gcc ]; then
var_append extraconfopt ' ' '--disable-libssp'
fi
fi fi

Loading…
Cancel
Save