]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
OSX_ARCH_OPTS also needs to be added to CPPFLAGS.
[wxWidgets.git] / configure
index 7697a87f25f424576c012220b5dc250f20a8794e..33a41b441b21365a2b811c738edb21a0ba45eec5 100755 (executable)
--- a/configure
+++ b/configure
@@ -19413,6 +19413,7 @@ $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary
 
     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
 
+    CPPFLAGS="$OSX_ARCH_OPTS $CPPFLAGS"
     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
@@ -21867,7 +21868,7 @@ main ()
           __sync_fetch_and_add(&value, 2);
           __sync_sub_and_fetch(&value, 1);
           /* but wxAtomicDec does, so mimic that: */
-          unsigned int r2 = __sync_sub_and_fetch(&value, 1);
+          volatile unsigned int r2 = __sync_sub_and_fetch(&value, 1);
 
   ;
   return 0;
@@ -23186,8 +23187,7 @@ fi
     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
     case "${host}" in
         x86_64-*-mingw32* )
-                                                WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
-        ;;
+                                                        ;;
     esac
     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
         LIBS="$LIBS -loleacc"
@@ -32629,8 +32629,6 @@ $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
 else
     if test "$wxUSE_THREADS" = "yes" ; then
       case "${host}" in
-        x86_64-*-mingw32* )
-        ;;
         *-*-mingw32* )
                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
 $as_echo_n "checking if compiler supports -mthreads... " >&6; }