36918e3217
- Update crt0 - Removed autoloader generation(use libc.def). git-svn-id: svn://kolibrios.org@9666 a494cfbc-eb01-0410-851d-a64ba20cac60
9 lines
447 B
Lua
Executable File
9 lines
447 B
Lua
Executable File
if tup.getconfig("NO_GCC") ~= "" then return end
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../../" or tup.getconfig("HELPERDIR")
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
|
|
CFLAGS = " -c -nostdinc -DGNUC -D_BUILD_LIBC -Os -fno-common -fno-builtin -fno-leading-underscore -fno-pie"
|
|
INCLUDES = " -I../include"
|
|
|
|
tup.rule("libc.c", "kos32-gcc" .. CFLAGS .. INCLUDES .. " -o %o %f " .. tup.getconfig("KPACK_CMD"), "libc.obj")
|