diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-12-05 14:43:24 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-12-05 14:43:24 +0100 |
| commit | 2933d3b507b5baae0bdef3a644e6f7275625cea2 (patch) | |
| tree | 0956edf90402f33c3a420c124b47b59ca99d8834 | |
| parent | aef7873e53f9aa2eba3912148b71868211d84770 (diff) | |
Use clang instead of gcc and compile a static binary
| -rwxr-xr-x | prepare | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ #!/usr/bin/env bash cd $(("$1")) -gcc -Wall -pedantic -O3 -march=native -mtune=native -flto -o "part$2" "part$2.c" +clang -Wall -pedantic -O3 -march=native -mtune=native -flto -s -static -o "part$2" "part$2.c" |
