Ticket #7824: haiku-cross-compiler.diff

File haiku-cross-compiler.diff, 566 bytes (added by bonefish, 10 years ago)

Patch for build/scripts/build_cross_tools_gcc4 using the --enable-cross-compiler option

  • build/scripts/build_cross_tools_gcc4

     
    138138cd $gccObjDir
    139139CFLAGS="-O2" CXXFLAGS="-O2" $gccSourceDir/configure --prefix=$installDir \
    140140    --target=$haikuMachine --disable-nls --disable-shared \
    141     --enable-languages=c,c++ \
     141    --enable-cross-compiler --enable-languages=c,c++ \
    142142    --with-headers=$tmpIncludeDir --with-libs=$tmpLibDir \
    143143    $gccConfigureArgs || exit 1
    144144