]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-ac_fixes.patch
BR: autoconf-archive
[packages/python3.git] / python3-ac_fixes.patch
index e7611ede6a8576f45fdf6653344741d282384899..36e3783b22972924bda30e866f3f234adcb9196d 100644 (file)
@@ -1,23 +1,29 @@
---- Python-3.5.0/configure.ac~ 2015-09-13 13:41:26.000000000 +0200
-+++ Python-3.5.0/configure.ac  2015-09-13 20:06:11.597280920 +0200
-@@ -1258,16 +1258,16 @@ then
-               # Optimization messes up debuggers, so turn it off for
-               # debug builds.
-                 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
--                    OPT="-g -Og -Wall $STRICT_PROTO"
-+                    OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
-                 else
--                    OPT="-g -O0 -Wall $STRICT_PROTO"
-+                    OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
-                 fi
-           else
--              OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
-+              OPT="-g $WRAP $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
-           fi
-           ;;
-       *)
--          OPT="-O3 -Wall $STRICT_PROTO"
-+          OPT="$CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
-           ;;
-       esac
+--- Python-3.6.2/configure.ac~ 2017-07-08 05:33:27.000000000 +0200
++++ Python-3.6.2/configure.ac  2017-08-07 10:28:44.498951134 +0200
+@@ -1485,25 +1485,6 @@ then
+             CFLAGS_ALIASING="-fno-strict-aliasing"
+         fi
+-      case $ac_cv_prog_cc_g in
+-      yes)
+-          if test "$Py_DEBUG" = 'true' ; then
+-              # Optimization messes up debuggers, so turn it off for
+-              # debug builds.
+-                if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
+-                    OPT="-g -Og -Wall"
+-                else
+-                    OPT="-g -O0 -Wall"
+-                fi
+-          else
+-              OPT="-g $WRAP -O3 -Wall"
+-          fi
+-          ;;
+-      *)
+-          OPT="-O3 -Wall"
+-          ;;
+-      esac
+-
        case $ac_sys_system in
+           SCO_SV*) OPT="$OPT -m486 -DSCO5"
+           ;;
+
This page took 0.052708 seconds and 4 git commands to generate.