xref: /llvm-project/bolt/test/RISCV/lit.local.cfg (revision c5ba61978c3364b31c00130561285c28306655b7)
1if 'RISCV' not in config.root.targets:
2    config.unsupported = True
3
4flags = '--target=riscv64 -nostdlib -ffreestanding -Wl,--emit-relocs'
5
6config.substitutions.insert(0, ('%cflags', f'%cflags {flags}'))
7config.substitutions.insert(0, ('%cxxflags', f'%cxxflags {flags}'))
8