From 85cde371de3fbfdd74af760821a6cb113ea45dc3 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Tue, 27 Sep 2016 21:39:05 +0000 Subject: [PATCH] newlib-2.4.0: next attempt III git-svn-id: svn://kolibrios.org@6539 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/newlib/libc/Tupfile.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/sdk/sources/newlib/libc/Tupfile.lua b/contrib/sdk/sources/newlib/libc/Tupfile.lua index cf237065a2..03a3bef1f7 100644 --- a/contrib/sdk/sources/newlib/libc/Tupfile.lua +++ b/contrib/sdk/sources/newlib/libc/Tupfile.lua @@ -1,6 +1,6 @@ if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end tup.include("../../../../../programs/use_gcc.lua") -CFLAGS = "-c -O2 -fno-builtin -fno-ident -fomit-frame-pointer" +CFLAGS = "-c -O2 -fno-builtin -fno-ident -fomit-frame-pointer -DMISSING_SYSCALL_NAMES" LDFLAGS = "-shared -s -T libcdll.lds --out-implib $(SDK_DIR)/lib/libc.dll.a --image-base 0" -- LDFLAGS = LDFLAGS .. " --output-def libc.orig.def" @@ -9,7 +9,7 @@ SDK_DIR = "../../.." LIBC_TOPDIR = "." LIBC_INCLUDES = "include" NAME = "libc" -DEFINES = "-D_IEEE_LIBM -DHAVE_RENAME" +DEFINES = "-D_IEEE_LIBM -DHAVE_RENAME -DBUILD_LIBC" INCLUDES = "-Iinclude" TOOLCHAIN_LIBPATH = tup.getconfig("TOOLCHAIN_LIBPATH")