From e41f38470e8670d0afbd7ab020b9a1d068e7f622 Mon Sep 17 00:00:00 2001 From: olivier gillet Date: Mon, 5 Mar 2012 17:39:26 +0100 Subject: [PATCH] Fixed linker bug with libm.a --- makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile.mk b/makefile.mk index b6b83c5..7183f35 100644 --- a/makefile.mk +++ b/makefile.mk @@ -129,7 +129,7 @@ $(BUILD_DIR): mkdir -p $(BUILD_DIR) $(TARGET_ELF): $(OBJS) - $(CC) $(LDFLAGS) -o $@ $(OBJS) $(SYS_OBJS) + $(CC) $(LDFLAGS) -o $@ $(OBJS) $(SYS_OBJS) -lc $(DEP_FILE): $(BUILD_DIR) $(DEPS) cat $(DEPS) > $(DEP_FILE)