forked from freddix/python3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython3-opt.patch
More file actions
19 lines (19 loc) · 623 Bytes
/
Copy pathpython3-opt.patch
File metadata and controls
19 lines (19 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Python-3.2b1/configure.ac.orig 2010-12-12 16:18:42.000000000 +0000
+++ Python-3.2b1/configure.ac 2010-12-12 16:20:34.000000000 +0000
@@ -879,13 +879,13 @@
if test "$Py_DEBUG" = 'true' ; then
# Optimization messes up debuggers, so turn it off for
# debug builds.
- OPT="-g -O0 -Wall $STRICT_PROTO"
+ OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
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
case $ac_sys_system in