Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-07-06 21:55:21 +0000
committereutarass2010-07-06 21:55:21 +0000
commit2a15df811e2cf2e364bb6790dd0436545bff46d4 (patch)
tree82a41cd39608c597de803df75c3b7571d6597660 /Makefile
parent106bf3fdf539c1db6f6eec5722e4749ffd568dca (diff)
downloadorg.eclipse.tcf.agent-2a15df811e2cf2e364bb6790dd0436545bff46d4.tar.gz
org.eclipse.tcf.agent-2a15df811e2cf2e364bb6790dd0436545bff46d4.tar.xz
org.eclipse.tcf.agent-2a15df811e2cf2e364bb6790dd0436545bff46d4.zip
TCF Agent: changed makefile to include GCC option -fno-omit-frame-pointer - it is needed for agent diagnostics to work properly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 39077b75..0ec50ba7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
TCF_AGENT_DIR=.
include $(TCF_AGENT_DIR)/Makefile.inc
+
+# frame pointers are needed for agent diagnostics to work properly
+ifeq ($(CC),gcc)
+ OPTS += -fno-omit-frame-pointer
+endif
+ifeq ($(CC),g++)
+ OPTS += -fno-omit-frame-pointer
+endif
+
override CFLAGS += $(OPTS)
all: $(EXECS)

Back to the top