From 73fff3b8d523c4c16db863ef28ecdb924433f3cd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 23 Oct 2013 02:52:01 -0500 Subject: Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make.sh b/scripts/make.sh index 61f2acfa..a685010c 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -88,7 +88,7 @@ do # turn any non-quoted opstring (NULL or 0) into " " (because fscanf can't # handle "" with nothing in it). - ) | $CC -E - | \ + ) | ${CROSS_COMPILE}${CC} -E - | \ sed -n -e 's/" *"//g;/^#/d;s/"/"/p' -e 's/ *$//;s/ [^" ]*$/ " "/p' # Sort resulting line pairs and glue them together into triplets of -- cgit v1.2.3