fix newlib cross build

This commit is contained in:
Dave Murphy
2018-05-22 09:04:39 +01:00
parent 5bb8680c27
commit 09627572b9

View File

@@ -86,6 +86,11 @@ fi
unset CFLAGS
cd $BUILDDIR
OLD_CC=$CC
OLDCXX=$CXX
unset CC
unset CXX
#---------------------------------------------------------------------------------
# build and install newlib
#---------------------------------------------------------------------------------
@@ -118,6 +123,9 @@ then
touch installed-newlib
fi
export CC=$OLD_CC
export CXX=$OLD_CXX
#---------------------------------------------------------------------------------
# build and install the final compiler
#---------------------------------------------------------------------------------