all repos — hastysite @ f549f8d2978a019f588beca385f92e1be3f98b59

A high-performance static site generator.

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

f549f8d2978a019f588beca385f92e1be3f98b59

parent

3c7a6043d949ea61e064e3a6503be61cf670019f

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") +