summaryrefslogtreecommitdiff
path: root/prepare
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-12-05 14:43:24 +0100
committerBond_009 <bond.009@outlook.com>2020-12-05 14:43:24 +0100
commit2933d3b507b5baae0bdef3a644e6f7275625cea2 (patch)
tree0956edf90402f33c3a420c124b47b59ca99d8834 /prepare
parentaef7873e53f9aa2eba3912148b71868211d84770 (diff)
Use clang instead of gcc and compile a static binary
Diffstat (limited to 'prepare')
-rwxr-xr-xprepare2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare b/prepare
index c4d3009..b49cbbc 100755
--- a/prepare
+++ b/prepare
@@ -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"