mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-20 10:35:34 +00:00
If we explicitly do a
ifndef LD LD = $(CC) endif we could as well use $(LD) for linking ;-)
This commit is contained in:
parent
074e74a584
commit
99fd132d3c
@ -134,7 +134,7 @@ endif
|
|||||||
|
|
||||||
ifndef CUSTOM_RULE_LINK
|
ifndef CUSTOM_RULE_LINK
|
||||||
%.$(TARGET): %.co $(PROJECT_OBJECTFILES) contiki-$(TARGET).a
|
%.$(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
|
endif
|
||||||
|
|
||||||
# The target below looks weird, but I had to add the @ to avoid complaints
|
# The target below looks weird, but I had to add the @ to avoid complaints
|
||||||
|
Loading…
Reference in New Issue
Block a user