LuaJIT: allow cross compiling to 32bit systems in x86_64-musl masterdir
This commit is contained in:
parent
b838708545
commit
5876aa9c8a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue