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:
parent
15e7268a10
commit
c74963d9cd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue