aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-31 15:44:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-31 15:44:09 -0400
commit2d6ec700cbfc8a18b60ccfba1ae49cb038967570 (patch)
tree9d4098e071df8d7bb2f0372fb8fe6c04bd17ce9d
parent6ade0a6d7b5bcf3f5174da235bc2af19738a901f (diff)
Fix for compiler flags
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 10d7b84a..983f41ae 100644
--- a/Makefile
+++ b/Makefile
@@ -58,11 +58,7 @@ ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version"), 1)
-Wlogical-op -Wpacked-not-aligned -Wshadow=compatible-local -Wshadow=global -Wshadow=local \
-Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \
-Wsync-nand -Wtrampolines -Wvector-operation-performance -Wcast-align=strict
- CCONFIG += -fsanitize=signed-integer-overflow -fno-sanitize-recover -fno-signaling-nans
-endif
-
-ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang version"), 1)
- CCONFIG += -fno-finite-math-only
+ CCONFIG += -fsanitize=signed-integer-overflow -fno-sanitize-recover -fno-signaling-nans -fno-finite-math-only
endif
OS := $(shell uname -s)