linux: add -rdynamic to linker options for debug builds
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 9 Jul 2013 14:34:55 +0000 (16:34 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 9 Jul 2013 14:34:55 +0000 (16:34 +0200)
This will make sure that all symbols are kept in the libraries and
executables, so that backtraces will have proper names

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile.inc

index 52fea38..d13a8b5 100644 (file)
@@ -240,6 +240,7 @@ endif
 
 ifeq ($(OS),linux)
 CPPFLAGS+=-DHTTPINFO_PUD -I$(TOPDIR)/lib -I$(TOPDIR)/lib/pud/nmealib/include -I$(TOPDIR)/lib/pud/wireformat/include
+LDFLAGS+=-rdynamic
 endif
 
 # a make function to quote "/" and "."