Ticket #12173: powerpcg5.patch

File powerpcg5.patch, 721 bytes (added by jpflori, 9 years ago)

Fix for PowerPC G5

  • configure

    diff -drNu src.orig/configure src/configure
    old new  
    267267   elif [ "$KERNEL" = "Darwin" -a "$ARCH" = "ppc" ]; then
    268268      FLINT_TUNE=" -funroll-loops"
    269269   elif [ "`uname -p`" = "powerpc" ]; then
    270       FLINT_TUNE="-m64 -mcpu=970 -mtune=970 -mpowerpc64 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
     270      # This should match PowerPC G5
     271      FLINT_TUNE="-falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
    271272   elif [ "$ARCH" = "ia64" ]; then
    272273      # -funroll-loops crashes the build on itanium under GCC-4.2.1, as reported by
    273274      # Kate Minola.