Trying to compile with musl when possible.
h3rald h3rald@h3rald.com
Thu, 24 Dec 2020 20:17:42 +0000
1 files changed,
6 insertions(+),
1 deletions(-)
jump to
M
tasks/build.min
→
tasks/build.min
@@ -14,7 +14,12 @@ "$#min" (variant) =% @o-variant
) when "nim" required "Building $# - $# (x64)" (o-variant target-os) =% notice - "nim c -d:release -d:ssl --cpu:amd64 --os:$# $#-o:$# min" (target-os d-variant o-variant) =% puts ! + "" :musl + "musl-gcc" :musl-gcc + (musl-gcc length 0 >) + ("--gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc" @musl) + when + "nim c -d:release -d:ssl $# --cpu:amd64 --os:$# $#-o:$# min" (musl target-os d-variant o-variant) =% puts ! {} target-os %os config /version %version