mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
use -fno-optimize-sibling-calls with SYMBOLS=1 for more complete stack traces with optimizations (nw)
This commit is contained in:
parent
b44baf77ce
commit
833c255154
2
makefile
2
makefile
@ -506,7 +506,7 @@ CCOMFLAGS += -pipe
|
||||
|
||||
# add -g if we need symbols, and ensure we have frame pointers
|
||||
ifdef SYMBOLS
|
||||
CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer
|
||||
CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
endif
|
||||
|
||||
# add -v if we need verbose build information
|
||||
|
@ -98,6 +98,7 @@ static const translation_info gcc_translate[] =
|
||||
{ 0, "-x", "" },
|
||||
{ 0, "c++", "" },
|
||||
{ 0, "-flto", "/GL" },
|
||||
{ 0, "-fno-optimize-sibling-calls", "" },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user