diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 15:44:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 15:44:09 -0400 |
| commit | 2d6ec700cbfc8a18b60ccfba1ae49cb038967570 (patch) | |
| tree | 9d4098e071df8d7bb2f0372fb8fe6c04bd17ce9d | |
| parent | 6ade0a6d7b5bcf3f5174da235bc2af19738a901f (diff) | |
Fix for compiler flags
| -rw-r--r-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) |
