From 247daa049057db583a2ab50a300bb4ee13e3e746 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 22 Mar 2023 15:22:37 +0200 Subject: [PATCH] Fix compiler detection when CC has a wrapper. For example CC='ccache gcc'. --- auto/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/cc b/auto/cc index 5323f7da..c8b1b076 100644 --- a/auto/cc +++ b/auto/cc @@ -13,7 +13,7 @@ END # Allow error exit status. set +e -if [ -z `which $CC` ]; then +if [ -z "$(which $CC)" ]; then echo echo $0: error: $CC not found. echo -- 2.47.3