aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)