mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
This means the kernel now depends on libj6. I've added the macro definition __j6kernel when building for the kernel target, so I can remove parts with #ifdefs.
35 lines
628 B
YAML
35 lines
628 B
YAML
---
|
|
extends: base
|
|
|
|
variables:
|
|
asflags: [ "-I${source_root}/src/kernel/" ]
|
|
|
|
ccflags: [
|
|
"-mno-sse",
|
|
"-fno-omit-frame-pointer",
|
|
|
|
"-g",
|
|
|
|
"-D__ELF__",
|
|
"-D__jsix__",
|
|
"-U__linux",
|
|
"-U__linux__",
|
|
|
|
"-isystem${source_root}/sysroot/include",
|
|
"-isystem${source_root}/src/libraries/libc/include",
|
|
"--sysroot='${source_root}/sysroot'" ]
|
|
|
|
|
|
cxxflags: [
|
|
"-fno-exceptions",
|
|
"-fno-rtti",
|
|
"-isystem${source_root}/sysroot/include/c++/v1" ]
|
|
|
|
ldflags: [
|
|
"-g",
|
|
"-Bstatic",
|
|
"--sysroot='${source_root}/sysroot'",
|
|
"-L", "${source_root}/sysroot/lib",
|
|
"-z", "separate-code" ]
|
|
|