diff options
author | Rob Landley <rob@landley.net> | 2013-10-23 02:52:01 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-10-23 02:52:01 -0500 |
commit | 73fff3b8d523c4c16db863ef28ecdb924433f3cd (patch) | |
tree | 0881619bd7b71337a520c804a5d7dc2e0267e8ca /scripts/make.sh | |
parent | 4aee303add071ca3c1f6af54238556e117365357 (diff) | |
download | toybox-73fff3b8d523c4c16db863ef28ecdb924433f3cd.tar.gz |
Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-x | scripts/make.sh | 2 |
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 |