mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
In order to allow -fpic and -fpie in the user target, move init to it's own target -- it needs its own special build rules to make it loadable by boot.
27 lines
436 B
YAML
27 lines
436 B
YAML
---
|
|
ld: clang++
|
|
|
|
ccflags: [
|
|
"-nostdlib",
|
|
"-nodefaultlibs",
|
|
"-fno-builtin",
|
|
|
|
"-I${source_root}/external",
|
|
"--target=x86_64-unknown-windows",
|
|
"-ffreestanding",
|
|
"-mno-red-zone",
|
|
"-fshort-wchar",
|
|
"-fno-omit-frame-pointer",
|
|
]
|
|
|
|
cxxflags: [ "-fno-exceptions", "-fno-rtti" ]
|
|
|
|
ldflags: [
|
|
"--target=x86_64-unknown-windows",
|
|
"-nostdlib",
|
|
"-Wl,-entry:efi_main",
|
|
"-Wl,-subsystem:efi_application",
|
|
"-fuse-ld=lld-link",
|
|
]
|
|
|