Skip to content

Commit

Permalink
build.sh: fix clang toolchain check
Browse files Browse the repository at this point in the history
  • Loading branch information
dyphire authored Mar 23, 2024
1 parent 6b01ff6 commit c1c6d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ build() {
ninja -C $buildroot/build$bit download || true
if [ "$compiler" == "gcc" ] && [ -f "$buildroot/build$bit/install/bin/cross-gcc" ]; then
ninja -C $buildroot/build$bit gcc && rm -rf $buildroot/build$bit//toolchain
elif [ "$compiler" == "clang" ] && [ ! "$(ls -A $clang_root/bin)" ]; then
elif [ "$compiler" == "clang" ] && [ ! "$(ls -A $clang_root/bin/clang)" ]; then
ninja -C $buildroot/build$bit llvm && ninja -C $buildroot/build$bit llvm-clang
fi

Expand Down

0 comments on commit c1c6d5c

Please sign in to comment.