Cross-compile support: allow -B option to specify directory for backend
This commit is contained in:
parent
a531d8c31e
commit
74b698556b
@ -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//'`
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user