mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
exclude integer sanitiser when debugging as it'll do more harm than good
This commit is contained in:
2
makefile
2
makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user