Skip to content

Commit 87f15d6

Browse files
committed
fix building the core library using make (fix commit 9e52674)
1 parent 5d454b6 commit 87f15d6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sduino/Arduino.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,8 +1481,7 @@ $(TARGET_ELF): $(LOCAL_OBJS) $(CORE_LIB) $(OTHER_OBJS)
14811481
$(CC) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(CORE_LIB) $(OTHER_OBJS) $(OTHER_LIBS) -lc -lm $(LINKER_SCRIPTS)
14821482

14831483
$(CORE_LIB): $(CORE_OBJS) $(LIB_OBJS) $(PLATFORM_LIB_OBJS) $(USER_LIB_OBJS)
1484-
$(AR) rcs $@ \
1485-
$(LIB_OBJS) $(PLATFORM_LIB_OBJS) $(USER_LIB_OBJS)
1484+
$(AR) rcs $@ $^
14861485

14871486
error_on_caterina:
14881487
$(ERROR_ON_CATERINA)

0 commit comments

Comments
 (0)