[packages/nim] - it builds on i686

witekfl witekfl at pld-linux.org
Mon May 4 17:09:09 CEST 2026


commit ca20a2d39c2dd0061996bc039ddcd9f99e4c455f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon May 4 17:08:08 2026 +0200

    - it builds on i686

 nim.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/nim.spec b/nim.spec
index ff458ea..571693b 100644
--- a/nim.spec
+++ b/nim.spec
@@ -30,7 +30,6 @@ Source9:	https://github.com/nim-lang/atlas/archive/0.10.1/atlas-0.10.1.tar.gz
 # Source9-md5:	ca4f3f8546118d62b78c5f30288bb0bc
 Patch0:		%{name}-config-fix-paths.patch
 Patch1:		%{name}inst-fix-paths.patch
-#Patch2:		build-docs.patch
 URL:		https://nim-lang.org/
 BuildRequires:	help2man
 BuildRequires:	nodejs
@@ -84,8 +83,10 @@ tar -xf %{SOURCE8} -C dist/nimble/vendor/zippy --strip-components=1
 export NIMBLE_NO_REFRESH=1
 export NIMBLE_DIR=$PWD/dist/nimble/vendor
 export HOME=$PWD
+export CFLAGS="%{rpmcflags}"
+export LDFLAGS="%{rpmldflags}"
 
-CC="%{__cc}" CFLAGS="%{rpmcflags}" ./build_all.sh
+./build_all.sh CC="%{__cc}" ucpu=%{_arch}
 #./bin/nim compile -d:release -d:nimUse64BitCTime koch
 #./koch boot -d:release -d:nimUse64BitCTime
 #./koch toolsNoExternal -d:release -d:nimUse64BitCTime
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nim.git/commitdiff/ca20a2d39c2dd0061996bc039ddcd9f99e4c455f



More information about the pld-cvs-commit mailing list