use the pedantically correct compiler for preprocessing
This commit is contained in:
parent
b67adb0d83
commit
63ae66198d
2
Makefile
2
Makefile
@ -279,7 +279,7 @@ CFLAGS += $(CFLAGS_EXTRA)
|
|||||||
all: applet_source_list busybox busybox.links doc
|
all: applet_source_list busybox busybox.links doc
|
||||||
|
|
||||||
applet_source_list: busybox.sh Config.h
|
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
|
doc: olddoc
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ export LC_ALL=POSIX
|
|||||||
export LC_CTYPE=POSIX
|
export LC_CTYPE=POSIX
|
||||||
|
|
||||||
RAW=` \
|
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;' \
|
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
|
||||||
| tr A-Z a-z | sort
|
| tr A-Z a-z | sort
|
||||||
`
|
`
|
||||||
|
@ -4,7 +4,7 @@ export LC_ALL=POSIX
|
|||||||
export LC_CTYPE=POSIX
|
export LC_CTYPE=POSIX
|
||||||
|
|
||||||
RAW=` \
|
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;' \
|
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
|
||||||
| tr A-Z a-z | sort
|
| tr A-Z a-z | sort
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user