ref: c8a9c80b8171efcd0db5f54e899d30057eead191
parent: 08acd58e1f04c5cfef6421ad1a79772186a69233
author: zamfofex <zamfofex@twdb.moe>
date: Sun Dec 17 10:58:07 EST 2023
use ‘cc’ instead of ‘gcc’ in minifier (regression, oops)
--- a/minify.sh
+++ b/minify.sh
@@ -100,7 +100,7 @@
cat - moonfish.c.xz > moonfish.sh << END
#!/bin/sh
t=\`mktemp\`
-tail -n +5 "\$0"|xz -d|gcc -march=native -O3 -o \$t -xc - -pthread
+tail -n +5 "\$0"|xz -d|cc -march=native -O3 -o \$t -xc - -pthread
(sleep 3;rm \$t)&exec \$t
END
chmod +x moonfish.sh
--
⑨