support Linux 32-bit builds

This commit is contained in:
Mamy André-Ratsimbazafy 2020-09-18 19:51:17 +02:00
parent a8cafce7c0
commit 525772599d
No known key found for this signature in database
GPG Key ID: 7B88AD1FE79492E1

View File

@ -105,8 +105,8 @@ build_nim() {
rm -rf bin/nim_csources
pushd csources
if [[ "$ON_WINDOWS" == "0" ]]; then
$MAKE clean
$MAKE LD=$CC
$MAKE $UCPU clean
$MAKE $UCPU LD=$CC
else
$MAKE myos=windows $UCPU clean
$MAKE myos=windows $UCPU CC=gcc LD=gcc
@ -142,4 +142,3 @@ build_nim() {
if nim_needs_rebuilding; then
build_nim
fi