Link debug builds with -rdynamic in order to get symbol names when printing backtraces from the signal handler.

git-svn-id: https://svn.eduke32.com/eduke32@1713 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2010-10-19 03:41:32 +00:00
parent e0874390ff
commit ee6548e6a9
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ ifneq (0,$(RELEASE))
else
# Debugging enabled
debug=-ggdb -O0 -DDEBUGGINGAIDS $(F_STACK_PROTECTOR_ALL)
LIBS=-lm
LIBS=-lm -rdynamic
ifneq (0,$(KRANDDEBUG))
debug+=-fno-inline -fno-inline-functions -fno-inline-functions-called-once

View file

@ -80,7 +80,7 @@ ifneq ($(RELEASE),0)
else
# Debugging enabled
debug=-ggdb -O0 -DDEBUGGINGAIDS -DNOSDLPARACHUTE $(F_STACK_PROTECTOR_ALL)
LIBS=-lm $(L_SSP) -Wl,--enable-auto-import
LIBS=-lm $(L_SSP) -Wl,--enable-auto-import -rdynamic
ifneq (0,$(KRANDDEBUG))
debug+=-DKRANDDEBUG=1
endif