summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-18 18:04:11 +0200
committerOskar <[email protected]>2024-10-18 18:04:11 +0200
commite345d475790140ec2362dce3a1e4462358b174ea (patch)
tree61eba9eeba3dba6a99e942a4d9f787bf472761b3 /Makefile
parent058fecf6ae7090c2f39cfcdf765697e39bf568b4 (diff)
a bit of a mess right now but working on it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 52e9f35..6ed64dc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CC=g++
-CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -Wformat-truncation=2 -Wformat-overflow -fno-common -std=c++20 -DDEBUG_S
+CC=clang++
+CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -fno-common -std=c++20 -DDEBUG_S
CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -static -std=c++20
TARGET=tsr
TESTTARGET=tsr-TESTING