1Don't wrap CC in quotes as our CC has options and this breaks command lookup. 2 3Upstream-Status: Backport [https://git.sdaoden.eu/browse/s-nail.git/commit/?h=next&id=c08f3c898def715edf9164e169c3b3522f4c7a1f] 4Signed-off-by: Ross Burton <ross.burton@arm.com> 5 6From c08f3c898def715edf9164e169c3b3522f4c7a1f Mon Sep 17 00:00:00 2001 7From: Steffen Nurpmeso <steffen@sdaoden.eu> 8Date: Tue, 1 Feb 2022 18:54:16 +0100 9Subject: [-] Remove even more bogus quotation marks (Ross Burton).. 10 11On top of (mk/su-find-command.sh: clearly define space behaviour) 12and (mx-test.sh: remove bogus quotation marks) Ross Burton 13reported some more on the ML. I looked around and hope this was it. 14--- 15 mk/pcb-cc.sh | 2 +- 16 mk/su-make-errors.sh | 2 +- 17 2 files changed, 2 insertions(+), 2 deletions(-) 18 19diff --git a/mk/pcb-cc.sh b/mk/pcb-cc.sh 20index 2697c5cf..075f8988 100755 21--- a/mk/pcb-cc.sh 22+++ b/mk/pcb-cc.sh 23@@ -18,7 +18,7 @@ if dowemayhave "$@"; then 24 if acmd_set CC clang || acmd_set CC gcc || 25 acmd_set CC tcc || acmd_set CC pcc || 26 acmd_set CC c89 || acmd_set CC c99; then 27- exec "$CC" "$@" 28+ exec $CC "$@" 29 else 30 echo >&2 'boing booom tschak' 31 echo >&2 'ERROR: I cannot find a compiler!' 32diff --git a/mk/su-make-errors.sh b/mk/su-make-errors.sh 33index f5c5144e..7fede15e 100644 34--- a/mk/su-make-errors.sh 35+++ b/mk/su-make-errors.sh 36@@ -157,7 +157,7 @@ compile_time() { # {{{ 37 # The problem is that at least (some versions of) gcc mangle output. 38 # Ensure we get both arguments on one line. 39 # While here sort numerically. 40- "${CC}" -E "${TARGET}".c | 41+ ${CC} -E "${TARGET}".c | 42 ${awk} ' 43 function stripsym(sym){ 44 sym = substr(sym, 2) 45-- 46