mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +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
|
||||
%.$(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
|
||||
|
Loading…
Reference in New Issue
Block a user