shithub: moonfish

Download patch

ref: d39b1d1ceed402163d8e61822269cb87e3b6f879
parent: 761b4b57cd11806bc500c0330012f445589c710e
author: zamfofex <zamfofex@twdb.moe>
date: Wed Jan 1 05:46:50 EST 2025

add '-march=native' to minified script

--- a/scripts/minify.sh
+++ b/scripts/minify.sh
@@ -7,7 +7,7 @@
 
 header='#!/bin/sh
 t=`mktemp`
-tail -n+5 "$0"|unxz -Fraw|'""${CC:-cc}""' -O3 -o $t -xc - -lm -pthread -latomic
+tail -n+5 "$0"|unxz -Fraw|'""${CC:-cc}""' -O3 -march=native -o $t -xc - -lm -pthread -latomic
 (sleep 3;rm $t)&exec $t'
 
 # for each C source file
--