mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03: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
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 New Issue
Block a user