llvm/bolt/test/AArch64/lit.local.cfg

if "AArch64" not in config.root.targets:
    config.unsupported = True

flags = "--target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding"

config.substitutions.insert(0, ("%cflags", f"%cflags {flags}"))
config.substitutions.insert(0, ("%cxxflags", f"%cxxflags {flags}"))