mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
proper fix for PROFILE=1 with clang (nw)
png2bdc was crashing because an implicitly enabled optimizations - see http://llvm.org/bugs/show_bug.cgi?id=14713
This commit is contained in:
parent
3908aa8ccf
commit
8ef233f78a
1 changed files with 5 additions and 0 deletions
5
makefile
5
makefile
|
@ -542,6 +542,11 @@ ifdef SYMBOLS
|
|||
CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
endif
|
||||
|
||||
# we need to disable some additional implicit optimizations for profiling
|
||||
ifdef PROFILE
|
||||
CCOMFLAGS += -mno-omit-leaf-frame-pointer
|
||||
endif
|
||||
|
||||
# add -v if we need verbose build information
|
||||
ifdef VERBOSE
|
||||
CCOMFLAGS += -v
|
||||
|
|
Loading…
Reference in a new issue