mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
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:
parent
e0874390ff
commit
ee6548e6a9
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ ifneq (0,$(RELEASE))
|
||||||
else
|
else
|
||||||
# Debugging enabled
|
# Debugging enabled
|
||||||
debug=-ggdb -O0 -DDEBUGGINGAIDS $(F_STACK_PROTECTOR_ALL)
|
debug=-ggdb -O0 -DDEBUGGINGAIDS $(F_STACK_PROTECTOR_ALL)
|
||||||
LIBS=-lm
|
LIBS=-lm -rdynamic
|
||||||
|
|
||||||
ifneq (0,$(KRANDDEBUG))
|
ifneq (0,$(KRANDDEBUG))
|
||||||
debug+=-fno-inline -fno-inline-functions -fno-inline-functions-called-once
|
debug+=-fno-inline -fno-inline-functions -fno-inline-functions-called-once
|
||||||
|
|
|
@ -80,7 +80,7 @@ ifneq ($(RELEASE),0)
|
||||||
else
|
else
|
||||||
# Debugging enabled
|
# Debugging enabled
|
||||||
debug=-ggdb -O0 -DDEBUGGINGAIDS -DNOSDLPARACHUTE $(F_STACK_PROTECTOR_ALL)
|
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))
|
ifneq (0,$(KRANDDEBUG))
|
||||||
debug+=-DKRANDDEBUG=1
|
debug+=-DKRANDDEBUG=1
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue