Ticket #3021: wnoerror.patch

File wnoerror.patch, 585 bytes (added by ithamar, 15 years ago)

small patch to add -Wno-error to compiler flags to prevent new gcc versions like the one shipping with Ubuntu 8.10 to stop on non-fatal warnings....

  • build/scripts/build_cross_tools_gcc4

    mkdir -p $installDir/lib/gcc/$haikuMachine/$gccVer  
    8787
    8888# build binutils
    8989cd $binutilsObjDir
    90 CFLAGS="-O2" CXXFLAGS="-O2" $binutilsSourceDir/configure \
     90CFLAGS="-O2 -Wno-error" CXXFLAGS="-O2 -Wno-error" $binutilsSourceDir/configure \
    9191    --prefix=$installDir --target=$haikuMachine --disable-nls \
    9292    --disable-shared || exit 1
    9393$MAKE || exit 1