summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-04 00:51:52 +0800
committerruki <[email protected]>2023-02-04 00:51:52 +0800
commitb51bae040adafebac74eca5a640e21e2fe2c5478 (patch)
tree964bc0b53ce97efb7beb37d3622d50a7b913d446
parentc2387f757d6ad0b4cfc42841920a4b38ba1cc1e0 (diff)
improve configure
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 21de7bde5..cafd0b3fe 100755
--- a/configure
+++ b/configure
@@ -412,6 +412,10 @@ path_toolname() {
*-ar) toolname="ar";;
*/ar) toolname="ar";;
ar) toolname="ar";;
+ cc) toolname="gcc";;
+ */cc) toolname="gcc";;
+ c++) toolname="g++";;
+ */c++) toolname="g++";;
*) raise "unknown tool ${1}";;
esac
_ret="${toolname}"