File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function sanitize_option() {
74
74
if [[ ${opt} == * /cc_wrapper.sh ]]; then
75
75
printf " %s" " ${execroot_path} %{toolchain_path_prefix}bin/clang"
76
76
elif [[ ${opt} == " -fuse-ld=ld64.lld" ]]; then
77
- echo " -fuse -ld=${execroot_abs_path} %{toolchain_path_prefix}bin/ld64.lld"
77
+ echo " --ld-path =${execroot_abs_path} %{toolchain_path_prefix}bin/ld64.lld"
78
78
elif [[ ${opt} =~ ^-fsanitize-(ignore| black)list= [^/] ]]; then
79
79
# shellcheck disable=SC2206
80
80
parts=(${opt/ =/ } ) # Split flag name and value into array.
88
88
for (( i = 0 ; i <= $# ; i++ )) ; do
89
89
if [[ ${! i} == @* ]]; then
90
90
while IFS= read -r opt; do
91
+ if [[ ${opt} == " -fuse-ld=ld64.lld" ]]; then
92
+ cmd+=(" -fuse-ld=lld" )
93
+ fi
91
94
opt=" $(
92
95
set -e
93
96
sanitize_option " ${opt} "
You can’t perform that action at this time.
0 commit comments