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:
helixhorned 2014-12-15 19:50:52 +00:00
parent 3db594912f
commit 01fa7eeabc
3 changed files with 2 additions and 3 deletions

View file

@ -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)

View file

@ -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