Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.
authorRob Landley <rob@landley.net>
Wed, 23 Oct 2013 07:52:01 +0000 (02:52 -0500)
committerRob Landley <rob@landley.net>
Wed, 23 Oct 2013 07:52:01 +0000 (02:52 -0500)
scripts/make.sh

index 61f2acf..a685010 100755 (executable)
@@ -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