Mercurial > hg > toybox
changeset 1094:370f15d1ece1 draft
Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 23 Oct 2013 02:52:01 -0500 |
parents | e1d3a9ac9e9f |
children | 960462460639 |
files | scripts/make.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/make.sh Thu Oct 17 14:43:38 2013 -0500 +++ b/scripts/make.sh Wed Oct 23 02:52:01 2013 -0500 @@ -88,7 +88,7 @@ # 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