---
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",
]

