mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Remove the `-lc++`, `-lc++abi`, and `-lunwind` options from the user target, where they should be handled automatically. (ie, we're not using `-nostdlib` or its bretheren.)
37 lines
569 B
YAML
37 lines
569 B
YAML
---
|
|
asflags: [ "-I${source_root}/src/kernel/" ]
|
|
|
|
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__",
|
|
|
|
"--sysroot='${source_root}/sysroot'",
|
|
|
|
"-fpic"
|
|
]
|
|
|
|
|
|
cxxflags: [
|
|
"-fno-exceptions",
|
|
"-fno-rtti",
|
|
]
|
|
|
|
ldflags: [
|
|
"-m", "elf_x86_64",
|
|
"--sysroot='${source_root}/sysroot'",
|
|
"--no-eh-frame-hdr",
|
|
"-L", "${source_root}/sysroot/lib",
|
|
"-z", "separate-code",
|
|
"--no-dependent-libraries",
|
|
]
|
|
|