do not optimize SANITIZE builds by default (nw)

This commit is contained in:
Oliver Stöneberg 2014-03-02 15:30:13 +00:00
parent 34fc0756d7
commit b1ee97db4c

View File

@ -276,6 +276,11 @@ BUILD_MIDILIB = 1
# sanity check the configuration
#-------------------------------------------------
# enable symbols as it is useless without them
ifdef SANITIZE
SYMBOLS = 1
endif
# specify a default optimization level if none explicitly stated
ifndef OPTIMIZE
ifndef SYMBOLS
@ -292,6 +297,7 @@ PROFILER = 1
endif
endif
# TODO: also move it up, so it isn't optimized by default?
# allow gprof profiling as well, which overrides the internal PROFILER
# also enable symbols as it is useless without them
ifdef PROFILE
@ -302,11 +308,6 @@ SYMLEVEL = 1
endif
endif
# enable symbols as it is useless without them
ifdef SANITIZE
SYMBOLS = 1
endif
# set the symbols level
ifdef SYMBOLS
ifndef SYMLEVEL