Skip to content

Commit 98b15ea

Browse files
committed
update configure
1 parent 2e8f242 commit 98b15ea

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

configure

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3091,11 +3091,14 @@ toolchain_end
30913091

30923092
# tinycc toolchain
30933093
toolchain "tinycc"
3094-
set_toolset "as" "tcc"
3094+
set_toolset "as" "tcc" "gcc" "clang"
30953095
set_toolset "cc" "tcc"
3096+
set_toolset "cxx" "gcc" "g++" "clang" "clang++"
3097+
set_toolset "mm" "gcc" "clang"
3098+
set_toolset "mxx" "gcc" "g++" "clang" "clang++"
30963099
set_toolset "ld" "tcc"
30973100
set_toolset "sh" "tcc"
3098-
set_toolset "ar" "tcc -ar"
3101+
set_toolset "ar" "tcc -ar" "ar"
30993102
toolchain_end
31003103

31013104
# check platform
@@ -3399,8 +3402,6 @@ _toolchain_try_toolset() {
33993402
echo "checking for the ${description} (${kind}) ... ${program}"
34003403
return 0
34013404
fi
3402-
else
3403-
return 0
34043405
fi
34053406
done
34063407
return 1

0 commit comments

Comments
 (0)