mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
do not optimize SANITIZE builds by default (nw)
This commit is contained in:
parent
34fc0756d7
commit
b1ee97db4c
11
makefile
11
makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user