From 3af46810c5cbff28bce18ad062b47675d4402aa0 Mon Sep 17 00:00:00 2001 From: telleriam Date: Thu, 6 Mar 2008 09:49:27 +0000 Subject: [PATCH] Adding -g to link options so that mgcc will not strip FOSA test executables git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1040 35b4ef3e-fd22-0410-ab77-dab3279adceb --- rules.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules.mk b/rules.mk index d822a0c..8c71e60 100644 --- a/rules.mk +++ b/rules.mk @@ -10,6 +10,9 @@ endif CFLAGS += -D$(PLATFORM) \ -I$(FOSA_PATH)/include +# This prevents mgcc from removing the debug information (stripping) +LDFLAGS += -g + ifeq ($(PLATFORM), MARTE_OS) CFLAGS += -I$(FOSA_PATH)/marte_non_local_jump endif -- 2.39.2