Updating config for current GCC4 cross compiler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -89,7 +89,7 @@ mkdir -p $installDir/lib/gcc/$haikuMachine/$gccVersion
|
|||||||
cd $binutilsObjDir
|
cd $binutilsObjDir
|
||||||
CFLAGS="-O2" CXXFLAGS="-O2" $binutilsSourceDir/configure \
|
CFLAGS="-O2" CXXFLAGS="-O2" $binutilsSourceDir/configure \
|
||||||
--prefix=$installDir --target=$haikuMachine --disable-nls \
|
--prefix=$installDir --target=$haikuMachine --disable-nls \
|
||||||
--disable-shared || exit 1
|
--disable-shared --disable-multilib || exit 1
|
||||||
$MAKE || exit 1
|
$MAKE || exit 1
|
||||||
$MAKE install || exit 1
|
$MAKE install || exit 1
|
||||||
|
|
||||||
@@ -120,8 +120,8 @@ copy_headers $haikuSourceDir/headers/posix $tmpIncludeDir/posix
|
|||||||
cd $gccObjDir
|
cd $gccObjDir
|
||||||
CFLAGS="-O2" CXXFLAGS="-O2" $gccSourceDir/configure --prefix=$installDir \
|
CFLAGS="-O2" CXXFLAGS="-O2" $gccSourceDir/configure --prefix=$installDir \
|
||||||
--target=$haikuMachine --disable-nls --disable-shared \
|
--target=$haikuMachine --disable-nls --disable-shared \
|
||||||
--enable-languages=c,c++ --with-headers=$tmpIncludeDir \
|
--disable-multilib --enable-languages=c,c++ \
|
||||||
--with-libs=$tmpLibDir || exit 1
|
--with-headers=$tmpIncludeDir --with-libs=$tmpLibDir || exit 1
|
||||||
|
|
||||||
# make gcc
|
# make gcc
|
||||||
$MAKE || {
|
$MAKE || {
|
||||||
|
|||||||
Reference in New Issue
Block a user