summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorjoshua stein <jcs@jcs.org>2019-12-27 21:53:57 -0600
committerAndreas Kling <awesomekling@gmail.com>2019-12-28 21:09:33 +0100
commit2d7259e0a0b8fdac66c35f01a413651b322742dd (patch)
tree657d351d1400acf5eba6462c3b21bfdbb5bd8911 /Makefile.common
parent68d721f973ab560ab9e2d3928d11ce6496774248 (diff)
downloadserenity-2d7259e0a0b8fdac66c35f01a413651b322742dd.zip
Build: Put C and M at the front of $LIB_DEPS to build first
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files 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 ..."