Alexandre Julliard : configure: Disable optimization on MacOS because of gcc bug.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Aug 15 06:43:01 CDT 2006


Module: wine
Branch: master
Commit: bdeeabeb282358000b6fe1a64ab20514259e92a2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=bdeeabeb282358000b6fe1a64ab20514259e92a2

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug 15 12:56:33 2006 +0200

configure: Disable optimization on MacOS because of gcc bug.

---

 configure    |    1 +
 configure.ac |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 767921f..fda6389 100755
--- a/configure
+++ b/configure
@@ -15300,6 +15300,7 @@ fi
       *powerpc*)
         LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"          ;;
     esac
+            CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
     ;;
   *)
     DLLFLAGS="$DLLFLAGS -fPIC"
diff --git a/configure.ac b/configure.ac
index de28ba7..951c553 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1052,6 +1052,9 @@ case $host_os in
         LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"  dnl FIXME
         ;;
     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"




More information about the wine-cvs mailing list