diff options
author | Rob Landley <rob@landley.net> | 2012-11-28 20:44:52 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-11-28 20:44:52 -0600 |
commit | 80aab262f1cb76477a31918b668110c2b0a11a22 (patch) | |
tree | 8d13e1ebf82c5f9b2f0f12950739e7cf9a0d3569 | |
parent | a9464f41539f4800744b4185c6a4d4c5e38eeadf (diff) | |
download | toybox-80aab262f1cb76477a31918b668110c2b0a11a22.tar.gz |
Use the specified compiler for preprocessing.
-rwxr-xr-x | scripts/make.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 921d1994..284c9d77 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -70,10 +70,10 @@ function getglobals() { # Run newtoys.h through the compiler's preprocessor to resolve USE macros # against current config. - NEWTOYS="$(cat generated/config.h generated/newtoys.h | gcc -E - | sed 's/" *"//g')" + NEWTOYS="$(cat generated/config.h generated/newtoys.h | $CC -E - | sed 's/" *"//g')" # Grab allyesconfig for comparison - ALLTOYS="$((sed '/USE_.*([^)]*)$/s/$/ __VA_ARGS__/' generated/config.h && cat generated/newtoys.h) | gcc -E - | sed 's/" *"//g')" + ALLTOYS="$((sed '/USE_.*([^)]*)$/s/$/ __VA_ARGS__/' generated/config.h && cat generated/newtoys.h) | $CC -E - | sed 's/" *"//g')" for i in toys/*/*.c do |