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
ifeq (0,$(CLANG))
ifneq ($(PLATFORM),WII)
DEBUGFLAG=-ggdb
DEBUGFLAG=-ggdb -fno-omit-frame-pointer
endif
endif
ifneq ($(RELEASE)$(DEBUGANYWAY),10)

View file

@ -4108,7 +4108,7 @@ void polymost_drawsprite(int32_t snum)
{
if (sector[tspr->sectnum].floorz < tspr->z)
{
sf0 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp0 + ghoriz;
sf0 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp0 + ghoriz;
sf1 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp1 + ghoriz;
}
}

View file

@ -1488,7 +1488,6 @@ local user_defs_mt = {
__index = {
set_screen_size = function(ud, screen_size)
if (ud.screen_size ~= screen_size) then
-- TODO: modify .statusbarmode accordingly
ud.screen_size = screen_size
ffiC.G_UpdateScreenArea()
end