Skip to content

Commit

Permalink
fix configure
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Dec 17, 2024
1 parent 89ba6c1 commit 99c768a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3091,11 +3091,14 @@ toolchain_end

# tinycc toolchain
toolchain "tinycc"
set_toolset "as" "tcc"
set_toolset "as" "tcc" "gcc" "clang"
set_toolset "cc" "tcc"
set_toolset "cxx" "gcc" "g++" "clang" "clang++"
set_toolset "mm" "gcc" "clang"
set_toolset "mxx" "gcc" "g++" "clang" "clang++"
set_toolset "ld" "tcc"
set_toolset "sh" "tcc"
set_toolset "ar" "tcc -ar"
set_toolset "ar" "tcc -ar" "ar"
toolchain_end

# check platform
Expand Down Expand Up @@ -3399,8 +3402,6 @@ _toolchain_try_toolset() {
echo "checking for the ${description} (${kind}) ... ${program}"
return 0
fi
else
return 0
fi
done
return 1
Expand Down

0 comments on commit 99c768a

Please sign in to comment.