configure: Disable optimization on MacOS because of gcc bug.

This commit is contained in:
Alexandre Julliard 2006-08-15 12:56:33 +02:00
parent 42b81ea006
commit bdeeabeb28
2 changed files with 4 additions and 0 deletions

1
configure vendored
View File

@ -15300,6 +15300,7 @@ fi
*powerpc*) *powerpc*)
LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;; LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
esac esac
CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
;; ;;
*) *)
DLLFLAGS="$DLLFLAGS -fPIC" DLLFLAGS="$DLLFLAGS -fPIC"

View File

@ -1052,6 +1052,9 @@ case $host_os in
LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" dnl FIXME LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" dnl FIXME
;; ;;
esac esac
dnl Disable optimizations because of force_align_arg_pointer bug
dnl FIXME: should be removed when gcc is fixed
CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
;; ;;
*) *)
DLLFLAGS="$DLLFLAGS -fPIC" DLLFLAGS="$DLLFLAGS -fPIC"