We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192cf04 commit 0344223Copy full SHA for 0344223
toolchain/osx_cc_wrapper.sh.tpl
@@ -74,7 +74,7 @@ function sanitize_option() {
74
if [[ ${opt} == */cc_wrapper.sh ]]; then
75
printf "%s" "${execroot_path}%{toolchain_path_prefix}bin/clang"
76
elif [[ ${opt} == "-fuse-ld=ld64.lld" ]]; then
77
- echo "-fuse-ld=${execroot_abs_path}%{toolchain_path_prefix}bin/ld64.lld"
+ echo "--ld-path=${execroot_abs_path}%{toolchain_path_prefix}bin/ld64.lld"
78
elif [[ ${opt} =~ ^-fsanitize-(ignore|black)list=[^/] ]]; then
79
# shellcheck disable=SC2206
80
parts=(${opt/=/ }) # Split flag name and value into array.
@@ -88,6 +88,9 @@ cmd=()
88
for ((i = 0; i <= $#; i++)); do
89
if [[ ${!i} == @* ]]; then
90
while IFS= read -r opt; do
91
+ if [[ ${opt} == "-fuse-ld=ld64.lld" ]]; then
92
+ cmd+=("-fuse-ld=lld")
93
+ fi
94
opt="$(
95
set -e
96
sanitize_option "${opt}"
0 commit comments