all repos — hastysite @ f24b31790152ab5b9be87deeca9580086c22c0ca

A high-performance static site generator.

Fixes.
h3rald h3rald@h3rald.com
Sat, 20 Mar 2021 09:37:07 +0000
commit

f24b31790152ab5b9be87deeca9580086c22c0ca

parent

b3c6166909b77f76f60cada1e521b53e13c7f0b0

1 files changed, 14 insertions(+), 0 deletions(-)

jump to
M hastysite.nimshastysite.nims

@@ -8,3 +8,17 @@ switch("amd64.linux.gcc.path", "/usr/local/bin")

switch("amd64.linux.gcc.exe", "x86_64-linux-musl-gcc") switch("amd64.linux.gcc.linkerexe", "x86_64-linux-musl-gcc") +switch("opt", "size") + +when not defined(dev): + switch("define", "release") + +if findExe("musl-gcc") != "": + switch("gcc.exe", "musl-gcc") + switch("gcc.linkerexe", "musl-gcc") + +when defined(windows): + switch("dynlibOverride", "pcre64") +else: + switch("dynlibOverride", "pcre") +