Revision 1e08ea16 build_all.sh

View differences:

build_all.sh
135 135
get_system_includes() {
136 136
   DUMMY_FILE=`mktemp temp_file.XXXX`
137 137
   DUMMY_OUT=`mktemp temp_out.XXXX`
138
   cpp -v $DUMMY_FILE 2>$DUMMY_OUT;
138
   ${CPP:-cpp} -v $DUMMY_FILE 2>$DUMMY_OUT;
139 139
   INC_DIRS1=`awk '/#include <...> search.*/, /^End.*/' <$DUMMY_OUT | grep -v '^#include\|^End'`
140 140
   GCC_INCLUDEPATH=""
141 141
   for D in $INC_DIRS1 ; do GCC_INCLUDEPATH="$GCC_INCLUDEPATH:$D" ; done;

Also available in: Unified diff