summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-21 13:27:53 -0800
committerPixel <pixel@nobis-crew.org>2011-11-21 13:27:53 -0800
commite10639753d7dbd368f5edc2555d75c4b5905ba3b (patch)
tree34b6c4bc2990f48de30d26486426558d643e7ac8 /Makefile
parent071e7f07901309a38c8cb5311aaecaa46c0c3542 (diff)
GeneralException() will now trace the callstack and store this, for debugging purposes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dcdd255..3854f07 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ BINEXT = bin
CPPFLAGS += -fno-strict-aliasing
ifeq ($(DEBUG),)
-CPPFLAGS += -O3 -DNDEBUG
+CPPFLAGS += -g -O3 -DNDEBUG
+LDFLAGS += -g
else
CPPFLAGS += -g -DDEBUG -DEV_VERIFY=3
LDFLAGS += -g
@@ -90,7 +91,7 @@ endif
ifeq ($(SYSTEM),Linux)
CPPFLAGS += -fPIC
- LDFLAGS += -fPIC
+ LDFLAGS += -fPIC -rdynamic
LIBS += pthread dl
CONFIG_H = linux-config.h
ARCH_FLAGS = -march=i686 -m32
@@ -110,6 +111,8 @@ vpath %.cc src:tests
vpath %.c libcoro:libeio:libev:win32/pthreads-win32:win32/iconv:win32/regex
BALAU_SOURCES = \
+Exceptions.cc \
+\
Local.cc \
Threads.cc \
\