mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Changing bonnibel to respect the --arch flag to configure. This requires some reworking of modules, mostly in the addition of the ModuleList class instead of just a dict of modules.
53 lines
820 B
YAML
53 lines
820 B
YAML
---
|
|
asflags: [ "-I${source_root}/src/kernel/" ]
|
|
|
|
ccflags: [
|
|
"--target=x86_64-jsix-elf",
|
|
"-fno-stack-protector",
|
|
|
|
"-I${source_root}/external",
|
|
|
|
"-nostdinc",
|
|
"-nostdlib",
|
|
"-ffreestanding",
|
|
"-nodefaultlibs",
|
|
"-fno-builtin",
|
|
"-fno-plt",
|
|
|
|
"-mno-sse",
|
|
"-fno-omit-frame-pointer",
|
|
"-mno-red-zone",
|
|
"-mcmodel=kernel",
|
|
"-fvisibility=hidden",
|
|
"-fvisibility-inlines-hidden",
|
|
|
|
"-D__ELF__",
|
|
"-D__jsix__",
|
|
"-D__j6kernel",
|
|
"-U__linux",
|
|
"-U__linux__",
|
|
"-DPRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1",
|
|
"-DPRINTF_INCLUDE_CONFIG_H=1",
|
|
|
|
"--sysroot='${source_root}/sysroot'"
|
|
]
|
|
|
|
|
|
cflags: [ '-nostdinc' ]
|
|
|
|
cxxflags: [
|
|
"-fno-exceptions",
|
|
"-fno-rtti",
|
|
"-nostdinc",
|
|
]
|
|
|
|
ldflags: [
|
|
"-m", "elf_x86_64",
|
|
"-nostdlib",
|
|
"-Bstatic",
|
|
"--no-eh-frame-hdr",
|
|
"-z", "norelro",
|
|
"-z", "separate-code"
|
|
]
|
|
|