exclude integer sanitiser when debugging as it'll do more harm than good

This commit is contained in:
2025-02-17 19:00:54 +01:00
parent 0e3c14664f
commit 6229a3bfd3

View File

@@ -8,7 +8,7 @@ CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -Wextra -Wpedantic -Wno-pointe
LDFLAGS := $(shell pkg-config --libs sdl2) -lm LDFLAGS := $(shell pkg-config --libs sdl2) -lm
ifeq ($(DEBUG),1) ifeq ($(DEBUG),1)
CFLAGS += -DDEBUG -fsanitize=address,undefined,integer -g -Og CFLAGS += -DDEBUG -fsanitize=address,undefined -g -Og
PROF := dbg PROF := dbg
else else
REL_FLAGS += -O3 REL_FLAGS += -O3