Cross-compile support: allow -B option to specify directory for backend

This commit is contained in:
sommerfeld 1999-08-10 03:35:30 +00:00
parent a531d8c31e
commit 74b698556b

View File

@ -42,6 +42,7 @@
# doesn't search gcc-include
#
PATH=/usr/bin:/bin
CC=${CC-gcc}
CPP=/usr/libexec/cpp
ALST="-traditional -D__GNUC__ -$ "
NSI=no
@ -60,6 +61,9 @@ do
;;
-traditional)
;;
-B*)
CPP=`${CC} $A -print-prog-name=cpp`
;;
-ansi)
ALST=`echo $ALST | sed -e 's/-traditional//'`
;;