- use HOSTCC instead of a hardcoded cc

This commit is contained in:
Bernhard Reutner-Fischer 2005-12-29 16:53:47 +00:00
parent 0bf67e849a
commit f00680eb59

View File

@ -12,7 +12,7 @@ export LC_CTYPE=POSIX
CONFIG_H=${1:-include/bb_config.h} CONFIG_H=${1:-include/bb_config.h}
APPLETS_H=${2:-include/applets.h} APPLETS_H=${2:-include/applets.h}
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | $HOSTCC -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
awk '/^[ \t]*LINK/{ awk '/^[ \t]*LINK/{
dir=substr($2,8) dir=substr($2,8)
gsub("_","/",dir) gsub("_","/",dir)