Sebastian Lackner : configure: Do not assume gcc strength reduce bug when cross-compiling.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 16 08:37:19 CDT 2015


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Jul 16 01:57:37 2015 +0200

configure: Do not assume gcc strength reduce bug when cross-compiling.

---

 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 64dedf5..0472c80 100755
--- a/configure
+++ b/configure
@@ -13832,7 +13832,7 @@ if ${ac_cv_c_gcc_strength_bug+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_c_gcc_strength_bug="yes"
+  ac_cv_c_gcc_strength_bug="no"
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
diff --git a/configure.ac b/configure.ac
index 3eaec29..9aab130 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1797,7 +1797,7 @@ then
   for(i=0; i<4 - 1; i++) L[[i]] = L[[i + 1]];
   L[[i]] = 4;
   return (Array[[1]] != -2 || L[[2]] != 3)]])],
-    [ac_cv_c_gcc_strength_bug="no"],[ac_cv_c_gcc_strength_bug="yes"],[ac_cv_c_gcc_strength_bug="yes"]) )
+    [ac_cv_c_gcc_strength_bug="no"],[ac_cv_c_gcc_strength_bug="yes"],[ac_cv_c_gcc_strength_bug="no"]) )
   if test "$ac_cv_c_gcc_strength_bug" = "yes"
   then
     EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"




More information about the wine-cvs mailing list