diff options
author | Eric Andersen | 2001-09-26 06:20:54 +0000 |
---|---|---|
committer | Eric Andersen | 2001-09-26 06:20:54 +0000 |
commit | 63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f (patch) | |
tree | 9077da77a60c9e12804427b4ebeb288025414eec | |
parent | b67adb0d83f48b0505f08fc01d70545aa0dc38d5 (diff) | |
download | busybox-63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f.zip busybox-63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f.tar.gz |
use the pedantically correct compiler for preprocessing
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | applets/busybox.sh | 2 | ||||
-rwxr-xr-x | busybox.sh | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -279,7 +279,7 @@ CFLAGS += $(CFLAGS_EXTRA) all: applet_source_list busybox busybox.links doc applet_source_list: busybox.sh Config.h - (echo -n "APPLET_SOURCES := "; BB_SRC_DIR=$(BB_SRC_DIR) $(SHELL) $^) > $@ + (echo -n "APPLET_SOURCES := "; CC="$(CC)" BB_SRC_DIR="$(BB_SRC_DIR)" $(SHELL) $^) > $@ doc: olddoc diff --git a/applets/busybox.sh b/applets/busybox.sh index 7c3deb2..9ab0f4b 100755 --- a/applets/busybox.sh +++ b/applets/busybox.sh @@ -4,7 +4,7 @@ export LC_ALL=POSIX export LC_CTYPE=POSIX RAW=` \ - gcc -E -dM ${1:-Config.h} | \ + $CC -E -dM ${1:-Config.h} | \ sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ | tr A-Z a-z | sort ` @@ -4,7 +4,7 @@ export LC_ALL=POSIX export LC_CTYPE=POSIX RAW=` \ - gcc -E -dM ${1:-Config.h} | \ + $CC -E -dM ${1:-Config.h} | \ sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ | tr A-Z a-z | sort ` |