Skip to content
Commit 2e65a423 authored by Fangrui Song's avatar Fangrui Song
Browse files

[Driver][test] Ensure --target= for -flto commands

Otherwise if the default target triple has `HasNativeLLVMSupport() ==
false`, the %clang command will exit with code 1 due to
err_drv_no_linker_llvm_support.

The issue is exposed by D156363.
parent d8f9663f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment