Skip to content

Commit 1d014c7

Browse files
committed
fixed linking of LIB_PRINTF
1 parent ceba92b commit 1d014c7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/makefile.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,8 @@ $(BINDIR)/$(TARGETOBJ): $(CRT0_OBJ) $(OBJDIR)/$(TARGETTMP) $(MAKEFILE_LIST) $(DE
391391
$(EXTRA_LDFLAGS) \
392392
$(OBJDIR)/$(TARGETTMP) \
393393
$(CRT0_OBJ) \
394-
--start-group \
395394
$(LIB_ALLOCATOR) \
396-
$(LIB_PRINTF) \
395+
--start-group \
397396
$(LIB_CRT) \
398397
$(LIB_CE) \
399398
$(LIB_SOFTFLOAT) \
@@ -498,9 +497,9 @@ $(OBJDIR)/$(TARGETTMP): $(OBJECTS) $(LIB_ALLOCATOR) $(LIB_PRINTF) $(LIB_CXX) $(L
498497
$(OBJECTS) \
499498
$(ICON_OBJ) \
500499
$(EXTRA_LIBS) \
501-
--start-group \
500+
--whole-archive $(LIB_PRINTF) --no-whole-archive \
502501
$(LIB_ALLOCATOR) \
503-
$(LIB_PRINTF) \
502+
--start-group \
504503
$(LIB_CRT) \
505504
$(LIB_CE) \
506505
$(LIB_SOFTFLOAT) \

0 commit comments

Comments
 (0)