From 2933d3b507b5baae0bdef3a644e6f7275625cea2 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sat, 5 Dec 2020 14:43:24 +0100 Subject: Use clang instead of gcc and compile a static binary --- prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3