Ticket #2874: haiku_ibex.diff

File haiku_ibex.diff, 598 bytes (added by augiedoggie, 15 years ago)

Patch for cross compile script to undefine _FORTIFY_SOURCE

  • build/scripts/build_cross_tools

     
    9595
    9696# configure gcc
    9797cd $gccObjDir
    98 CFLAGS="-O2" CXXFLAGS="-O2" $buildToolsDir/gcc/configure --prefix=$installDir \
     98CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" $buildToolsDir/gcc/configure --prefix=$installDir \
    9999    --target=i586-pc-haiku --disable-nls --enable-shared=yes \
    100100    --enable-languages=c,c++ --with-headers=$tmpIncludeDir \
    101101    --with-libs=$tmpLibDir || exit 1