From 67359467d75cb452d29a9eaf1909b961545bb1c2 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Tue, 27 Sep 2016 22:16:22 +0000 Subject: [PATCH] update build rules git-svn-id: svn://kolibrios.org@6543 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/use_newlib.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/use_newlib.lua b/programs/use_newlib.lua index 2728a4193f..b48b7fcaab 100644 --- a/programs/use_newlib.lua +++ b/programs/use_newlib.lua @@ -11,6 +11,6 @@ if TOOLCHAIN_LIBPATH == "" then end INCLUDES = INCLUDES .. " -I" .. NEWLIB_BASE .. "/libc/include" -LDFLAGS = LDFLAGS .. " -T$(NEWLIB_BASE)/app.lds -L$(NEWLIB_LIB) -L$(TOOLCHAIN_LIBPATH) --image-base 0" -tup.append_table(LIBDEPS, {NEWLIB_LIB .. "/", NEWLIB_LIB .. "/"}) -LIBS = LIBS .. "-lgcc -lapp -lc.dll" +LDFLAGS = LDFLAGS .. " -T$(NEWLIB_BASE)/app-dynamic.lds -L$(NEWLIB_LIB) --image-base 0" +tup.append_table(LIBDEPS, {NEWLIB_LIB .. "/"}) +LIBS = LIBS .. "-lgcc -lc.dll"