mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-12 20:46:01 -05:00
fix newlib cross build
This commit is contained in:
@@ -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
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user