]> git.pld-linux.org Git - packages/python3.git/blame - python3-ac_fixes.patch
Suggests: pip
[packages/python3.git] / python3-ac_fixes.patch
CommitLineData
ac674191
AM
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
e684db95
AM
4 # Optimization messes up debuggers, so turn it off for
5 # debug builds.
ac674191
AM
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
e684db95 13 else
8c6dc2b8 14- OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
15+ OPT="-g $WRAP $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
e684db95
AM
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.033622 seconds and 4 git commands to generate.