mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Sorta. crt0 is a separate module as far as bonnibel is concerned, but it's still part of the libc module file.
39 lines
610 B
YAML
39 lines
610 B
YAML
---
|
|
ccflags: [
|
|
"--target=x86_64-jsix-elf",
|
|
"-fno-omit-frame-pointer",
|
|
"-fno-stack-protector",
|
|
|
|
"-fvisibility=hidden",
|
|
"-fvisibility-inlines-hidden",
|
|
|
|
"-D__ELF__",
|
|
"-D__jsix__",
|
|
"-U__linux",
|
|
"-U__linux__",
|
|
|
|
"-DMSPACES",
|
|
|
|
"--sysroot='${source_root}/sysroot'"
|
|
]
|
|
|
|
|
|
cxxflags: [
|
|
"-fno-exceptions",
|
|
"-fno-rtti",
|
|
]
|
|
|
|
ldflags: [
|
|
"-Bstatic",
|
|
"-m", "elf_x86_64",
|
|
"--sysroot='${source_root}/sysroot'",
|
|
"--no-eh-frame-hdr",
|
|
"-L", "${source_root}/sysroot/lib",
|
|
"-z", "separate-code",
|
|
"-lc++", "-lc++abi", "-lunwind",
|
|
"--no-dependent-libraries",
|
|
]
|
|
|
|
libs: [
|
|
"${target_dir}/crt0.o",
|
|
] |