Skip to content

Commit

Permalink
Build: Put C and M at the front of $LIB_DEPS to build first
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs authored and awesomekling committed Dec 28, 2019
1 parent 68d721f commit 2d7259e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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 += \
Expand All @@ -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 ..."
Expand Down

0 comments on commit 2d7259e

Please sign in to comment.