aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-10-23 02:52:01 -0500
committerRob Landley <rob@landley.net>2013-10-23 02:52:01 -0500
commit73fff3b8d523c4c16db863ef28ecdb924433f3cd (patch)
tree0881619bd7b71337a520c804a5d7dc2e0267e8ca
parent4aee303add071ca3c1f6af54238556e117365357 (diff)
downloadtoybox-73fff3b8d523c4c16db863ef28ecdb924433f3cd.tar.gz
Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
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