summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2014-05-17 19:47:30 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2014-05-17 19:47:30 +0000
commit833c2551547b37f8d314e1e96e8ab8081d29ffd8 (patch)
tree08f9a8286420025e923c883bb86b74e0936a87a6 /makefile
parentb44baf77ceeac91bd2e85aad7b82dbeaf214e587 (diff)
use -fno-optimize-sibling-calls with SYMBOLS=1 for more complete stack traces with optimizations (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 6a0540a2ffa..b5ccc213d29 100644
--- a/makefile
+++ b/makefile
@@ -506,7 +506,7 @@ CCOMFLAGS += -pipe
# add -g if we need symbols, and ensure we have frame pointers
ifdef SYMBOLS
-CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer
+CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer -fno-optimize-sibling-calls
endif
# add -v if we need verbose build information