From 2fe1ccf8c561bcd47f50937ffd989faca63c121a Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 8 Aug 2006 13:06:54 +0000 Subject: [PATCH] Changed linking to use CC instead of LD to make things work with the current Makefiles (particularly platform/native). Not sure if this change is a good thing; it not, it should be reverted once we get the other Makefiles up to speed. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 1303176ad..e8d95670d 100644 --- a/Makefile.include +++ b/Makefile.include @@ -131,7 +131,7 @@ endif ifndef CUSTOM_RULE_LINK %.$(TARGET): %.co $(PROJECT_OBJECTFILES) contiki-$(TARGET).a - $(LD) $(LDFLAGS) $(TARGET_STARTFILES) $(filter-out %.a,$^) $(filter %.a,$^) $(TARGET_LIBFILES) -o $@ + $(CC) $(LDFLAGS) $(TARGET_STARTFILES) $(filter-out %.a,$^) $(filter %.a,$^) $(TARGET_LIBFILES) -o $@ endif # The target below looks weird, but I had to add the @ to avoid complaints