aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-26 06:20:54 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-26 06:20:54 +0000
commit63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f (patch)
tree9077da77a60c9e12804427b4ebeb288025414eec
parentb67adb0d83f48b0505f08fc01d70545aa0dc38d5 (diff)
downloadbusybox-w32-63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f.tar.gz
busybox-w32-63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f.tar.bz2
busybox-w32-63ae66198d3f2d51d077a8fbcdaf1e5fe80a210f.zip
use the pedantically correct compiler for preprocessing
-rw-r--r--Makefile2
-rwxr-xr-xapplets/busybox.sh2
-rwxr-xr-xbusybox.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e8f4b251d..67cdb315b 100644
--- a/Makefile
+++ b/Makefile
@@ -279,7 +279,7 @@ CFLAGS += $(CFLAGS_EXTRA)
279all: applet_source_list busybox busybox.links doc 279all: applet_source_list busybox busybox.links doc
280 280
281applet_source_list: busybox.sh Config.h 281applet_source_list: busybox.sh Config.h
282 (echo -n "APPLET_SOURCES := "; BB_SRC_DIR=$(BB_SRC_DIR) $(SHELL) $^) > $@ 282 (echo -n "APPLET_SOURCES := "; CC="$(CC)" BB_SRC_DIR="$(BB_SRC_DIR)" $(SHELL) $^) > $@
283 283
284doc: olddoc 284doc: olddoc
285 285
diff --git a/applets/busybox.sh b/applets/busybox.sh
index 7c3deb20e..9ab0f4bdb 100755
--- a/applets/busybox.sh
+++ b/applets/busybox.sh
@@ -4,7 +4,7 @@ export LC_ALL=POSIX
4export LC_CTYPE=POSIX 4export LC_CTYPE=POSIX
5 5
6RAW=` \ 6RAW=` \
7 gcc -E -dM ${1:-Config.h} | \ 7 $CC -E -dM ${1:-Config.h} | \
8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ 8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
9 | tr A-Z a-z | sort 9 | tr A-Z a-z | sort
10` 10`
diff --git a/busybox.sh b/busybox.sh
index 7c3deb20e..9ab0f4bdb 100755
--- a/busybox.sh
+++ b/busybox.sh
@@ -4,7 +4,7 @@ export LC_ALL=POSIX
4export LC_CTYPE=POSIX 4export LC_CTYPE=POSIX
5 5
6RAW=` \ 6RAW=` \
7 gcc -E -dM ${1:-Config.h} | \ 7 $CC -E -dM ${1:-Config.h} | \
8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ 8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
9 | tr A-Z a-z | sort 9 | tr A-Z a-z | sort
10` 10`