From 525772599db7a9fa2e3c446f1b2d034dd644f27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Fri, 18 Sep 2020 19:51:17 +0200 Subject: [PATCH] support Linux 32-bit builds --- scripts/build_nim.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build_nim.sh b/scripts/build_nim.sh index 1e2a38f..40a1d0a 100755 --- a/scripts/build_nim.sh +++ b/scripts/build_nim.sh @@ -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 -