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.
This commit is contained in:
parent
7b791de692
commit
2fe1ccf8c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user