]> git.pld-linux.org Git - packages/python3.git/blame_incremental - python3-ac_fixes.patch
- up to 3.6.0 (builds; untested; some tests still fail)
[packages/python3.git] / python3-ac_fixes.patch
... / ...
CommitLineData
1--- Python-3.5.0/configure.ac~ 2015-09-13 13:41:26.000000000 +0200
2+++ Python-3.5.0/configure.ac 2015-09-13 20:06:11.597280920 +0200
3@@ -1258,16 +1258,16 @@ then
4 # Optimization messes up debuggers, so turn it off for
5 # debug builds.
6 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
7- OPT="-g -Og -Wall $STRICT_PROTO"
8+ OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
9 else
10- OPT="-g -O0 -Wall $STRICT_PROTO"
11+ OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
12 fi
13 else
14- OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
15+ OPT="-g $WRAP $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
16 fi
17 ;;
18 *)
19- OPT="-O3 -Wall $STRICT_PROTO"
20+ OPT="$CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
21 ;;
22 esac
23 case $ac_sys_system in
This page took 0.033751 seconds and 4 git commands to generate.