From 2d7259e0a0b8fdac66c35f01a413651b322742dd Mon Sep 17 00:00:00 2001 From: joshua stein Date: Fri, 27 Dec 2019 21:53:57 -0600 Subject: [PATCH] Build: Put C and M at the front of $LIB_DEPS to build first --- Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.common b/Makefile.common index c73de3c063..45ff967117 100644 --- a/Makefile.common +++ b/Makefile.common @@ -39,7 +39,7 @@ else LINK = $(TOOLCHAIN_PATH)/i686-pc-serenity-ld RANLIB = $(TOOLCHAIN_PATH)/i686-pc-serenity-ranlib AR = $(TOOLCHAIN_PATH)/i686-pc-serenity-ar - + DEFINES += -DDEBUG INCLUDE_FLAGS += \ @@ -51,7 +51,7 @@ else DEFINES += -DKERNEL else # everything else gets -lc -lm - LIB_DEPS += C M + LIB_DEPS := C M $(LIB_DEPS) endif # turn "LIB_DEPS=C Core Thread" into "-lc -lcore -lthread -L.../LibC ..."