From 99fd132d3cbcdb41e7b0a7de3aec4a4e770cfa23 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 31 Dec 2006 13:34:59 +0000 Subject: [PATCH] If we explicitly do a ifndef LD LD = $(CC) endif we could as well use $(LD) for linking ;-) --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 515f7ffac..521016f00 100644 --- a/Makefile.include +++ b/Makefile.include @@ -134,7 +134,7 @@ endif ifndef CUSTOM_RULE_LINK %.$(TARGET): %.co $(PROJECT_OBJECTFILES) contiki-$(TARGET).a - $(CC) $(LDFLAGS) $(TARGET_STARTFILES) $(filter-out %.a,$^) $(filter %.a,$^) $(TARGET_LIBFILES) -o $@ + $(LD) $(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