mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
tweak the testing flags a little, to catch errors a bit easier
This commit is contained in:
3
makefile
3
makefile
@@ -25,7 +25,8 @@ CFLAGS += -Og -g -fsanitize=address,undefined
|
||||
LDFLAGS += -fsanitize=address,undefined
|
||||
PROF := dbg
|
||||
else ifeq ($(DEBUG),test) # check whether we're perhaps testing
|
||||
CFLAGS += -O2
|
||||
CFLAGS += -O2 -g -fsanitize=address
|
||||
LDFLAGS += -fsanitize=address
|
||||
PROF := test
|
||||
else # otherwise, assume release
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
|
||||
Reference in New Issue
Block a user