Browse Source

musl: fixed parse-config-fixarch to properly fix arch_target in the case it doesn't end with "gnu"

stable/0.6
Christian Wiese 11 years ago
parent
commit
95c949a012
  1. 4
      base/musl/parse-config-fixarch

4
base/musl/parse-config-fixarch

@ -12,6 +12,6 @@
# 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" -a "${arch_target%gnu}" != "$arch_target" ]; then if [ "$SDECFG_LIBC" == "musl" -a "${arch_target%gnu*}" != "$arch_target" ]; then
arch_target=${arch_target%gnu}musl arch_target=${arch_target/gnu/musl}
fi fi

Loading…
Cancel
Save