-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# --disable-pie needed on x86, bug #512734
use x86 && myconf="${myconf} --disable-pie"
+ # --disable-ssp is needed on musl x86
+ use x86 && use elibc_musl && myconf+="${myconf} --disable-ssp"
econf \
$(use_enable asm) \
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# --disable-pie is needed on x86, see bug #512734
if [[ "${MULTILIB_ABI_FLAG}" == "abi_x86_32" ]]; then
myconf="${myconf} --disable-pie"
+ # --disable-ssp is needed on musl x86
+ if use elibc_musl; then
+ myconf+="${myconf} --disable-ssp"
+ fi
fi
econf \
# --disable-pie is needed on x86, see bug #512734
if [[ "${MULTILIB_ABI_FLAG}" == "abi_x86_32" ]]; then
myeconfargs+=( --disable-pie )
+ # --disable-ssp is needed on musl x86
+ if use elibc_musl; then
+ myeconfargs+=( --disable-ssp )
+ fi
fi
ECONF_SOURCE="${S}" econf ${myeconfargs[@]}