mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Makefile.common: in non-release builds, explicitly pass -fno-omit-frame-pointer.
So that stack traces can be gotten with optimized DEBUGANYWAY builds, e.g. for Linux's 'perf' --> flame graphs. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4817 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3db594912f
commit
01fa7eeabc
3 changed files with 2 additions and 3 deletions
|
@ -264,7 +264,7 @@ OPTIMIZATIONS=-O$(OPTLEVEL) $(OPTOPT)
|
||||||
DEBUGFLAG=-g
|
DEBUGFLAG=-g
|
||||||
ifeq (0,$(CLANG))
|
ifeq (0,$(CLANG))
|
||||||
ifneq ($(PLATFORM),WII)
|
ifneq ($(PLATFORM),WII)
|
||||||
DEBUGFLAG=-ggdb
|
DEBUGFLAG=-ggdb -fno-omit-frame-pointer
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifneq ($(RELEASE)$(DEBUGANYWAY),10)
|
ifneq ($(RELEASE)$(DEBUGANYWAY),10)
|
||||||
|
|
|
@ -1488,7 +1488,6 @@ local user_defs_mt = {
|
||||||
__index = {
|
__index = {
|
||||||
set_screen_size = function(ud, screen_size)
|
set_screen_size = function(ud, screen_size)
|
||||||
if (ud.screen_size ~= screen_size) then
|
if (ud.screen_size ~= screen_size) then
|
||||||
-- TODO: modify .statusbarmode accordingly
|
|
||||||
ud.screen_size = screen_size
|
ud.screen_size = screen_size
|
||||||
ffiC.G_UpdateScreenArea()
|
ffiC.G_UpdateScreenArea()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue