mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:35:46 +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
|
LDFLAGS += -fsanitize=address,undefined
|
||||||
PROF := dbg
|
PROF := dbg
|
||||||
else ifeq ($(DEBUG),test) # check whether we're perhaps testing
|
else ifeq ($(DEBUG),test) # check whether we're perhaps testing
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2 -g -fsanitize=address
|
||||||
|
LDFLAGS += -fsanitize=address
|
||||||
PROF := test
|
PROF := test
|
||||||
else # otherwise, assume release
|
else # otherwise, assume release
|
||||||
CFLAGS += -O2 -DNDEBUG
|
CFLAGS += -O2 -DNDEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user