mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +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
|
# 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
|
# specify a default optimization level if none explicitly stated
|
||||||
ifndef OPTIMIZE
|
ifndef OPTIMIZE
|
||||||
ifndef SYMBOLS
|
ifndef SYMBOLS
|
||||||
@ -292,6 +297,7 @@ PROFILER = 1
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# TODO: also move it up, so it isn't optimized by default?
|
||||||
# allow gprof profiling as well, which overrides the internal PROFILER
|
# allow gprof profiling as well, which overrides the internal PROFILER
|
||||||
# also enable symbols as it is useless without them
|
# also enable symbols as it is useless without them
|
||||||
ifdef PROFILE
|
ifdef PROFILE
|
||||||
@ -302,11 +308,6 @@ SYMLEVEL = 1
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# enable symbols as it is useless without them
|
|
||||||
ifdef SANITIZE
|
|
||||||
SYMBOLS = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
# set the symbols level
|
# set the symbols level
|
||||||
ifdef SYMBOLS
|
ifdef SYMBOLS
|
||||||
ifndef SYMLEVEL
|
ifndef SYMLEVEL
|
||||||
|
Loading…
Reference in New Issue
Block a user