LuaJIT: allow cross compiling to 32bit systems in x86_64-musl masterdir
This commit is contained in:
@@ -15,9 +15,9 @@ checksum=1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3
|
|||||||
|
|
||||||
_cross_cc="cc"
|
_cross_cc="cc"
|
||||||
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
||||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
if [ "${XBPS_MACHINE/-musl/}" = "x86_64" ]; then
|
||||||
hostmakedepends+=" gcc-multilib"
|
hostmakedepends+=" cross-i686-linux-musl"
|
||||||
_cross_cc="cc -m32"
|
_cross_cc="i686-linux-musl-gcc -static"
|
||||||
else
|
else
|
||||||
broken="Host and target wordsize must match"
|
broken="Host and target wordsize must match"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user