gcc: fix i686-musl target

For i686-musl GCC's libmpx target does not compile. For now simply remove
the libmpx subdirectory. TODO: investigate why libmpx compiles for i686
but not for i686-musl.
This commit is contained in:
Juergen Buchmueller 2016-12-21 07:30:07 +01:00
parent 15e7268a10
commit c74963d9cd

View file

@ -74,7 +74,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
case "$XBPS_TARGET_MACHINE" in
mips*) ;;
x86_64*|i686*) subpackages+=" libitm libitm-devel libmpx libmpx-devel";;
x86_64*|i686) subpackages+=" libitm libitm-devel libmpx libmpx-devel";;
*) subpackages+=" libitm libitm-devel";;
esac
@ -150,6 +150,10 @@ do_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) _args+=" --disable-symvers"
_args+=" libat_cv_have_ifunc=no"
if [ "$XBPS_TARGET_MACHINE" = "i686-musl" ]; then
# Remove libmpx because it won't compile
rm -rf libmpx
fi
;;
esac