]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - rules.mk
Adding -g to link options so that mgcc will not strip FOSA test executables
[frescor/fosa.git] / rules.mk
index d822a0c0f1460f28437674ebbf872d48d77047a8..8c71e60d1c4176c90f540e9395b4205a8d82e574 100644 (file)
--- 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