From 80aab262f1cb76477a31918b668110c2b0a11a22 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 28 Nov 2012 20:44:52 -0600 Subject: Use the specified compiler for preprocessing. --- scripts/make.sh | 4 ++-- 1 file 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 -- cgit v1.2.3