Arthur Eubanks 1d085f1147 [gn build] Don't pass -fuse-ld=lld to compiler-rt tests
This was done for check-hwasan, but compiler-rt/test/hwasan/lit.cfg.py
already does that.

This makes check-asan (to be submitted) fail on Windows due to using
lld-link (as opposed to MSVC link.exe) in tests. That seems like a
problem that should be fixed, but that's orthogonal to this patch.
2022-01-26 15:08:22 -08:00

19 lines
442 B
Plaintext

import("//llvm/utils/gn/build/toolchain/target_flags.gni")
declare_args() {
# Specifies the serial number of the Android device to be used for testing.
android_serial_for_testing = ""
# Android API level used in compiler-rt tests.
android_api_level = 29
}
target_flags_string = ""
foreach(flag, target_flags + target_ldflags) {
if (target_flags_string != "") {
target_flags_string += " "
}
target_flags_string += flag
}