From ee6548e6a9c54ba97c084915913c9133029d1493 Mon Sep 17 00:00:00 2001 From: plagman Date: Tue, 19 Oct 2010 03:41:32 +0000 Subject: [PATCH] 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 --- polymer/eduke32/Makefile | 2 +- polymer/eduke32/build/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/Makefile b/polymer/eduke32/Makefile index f64ad48bd..c6aab5cc7 100644 --- a/polymer/eduke32/Makefile +++ b/polymer/eduke32/Makefile @@ -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 diff --git a/polymer/eduke32/build/Makefile b/polymer/eduke32/build/Makefile index a4e0a4cc5..a5b9671c5 100644 --- a/polymer/eduke32/build/Makefile +++ b/polymer/eduke32/build/Makefile @@ -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