Previous 199869 Revisions Next

r34235 Wednesday 7th January, 2015 at 14:58:40 UTC by Oliver Stöneberg
fixed non-DEBUG PROFILE=1 build with clang (nw)
[/trunk]makefile

trunk/makefile
r242746r242747
291291SYMBOLS = 1
292292endif
293293
294# specify a default optimization level if none explicitly stated
295ifndef OPTIMIZE
296ifndef SYMBOLS
297OPTIMIZE = 3
298else
299OPTIMIZE = 0
300endif
301endif
302
303294# profiler defaults to on for DEBUG builds
304295ifdef DEBUG
305296ifndef PROFILER
r242746r242747
307298endif
308299endif
309300
310# TODO: also move it up, so it isn't optimized by default?
311301# allow gprof profiling as well, which overrides the internal PROFILER
312302# also enable symbols as it is useless without them
313303ifdef PROFILE
r242746r242747
318308endif
319309endif
320310
311# specify a default optimization level if none explicitly stated
312ifndef OPTIMIZE
313ifndef SYMBOLS
314OPTIMIZE = 3
315else
316OPTIMIZE = 0
317endif
318endif
319
321320# set the symbols level
322321ifdef SYMBOLS
323322ifndef SYMLEVEL


Previous 199869 Revisions Next


© 1997-2024 The MAME Team