forked from pld-linux/python3
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython3-ac_fixes.patch
More file actions
Latest commit
29 lines (27 loc) · 757 Bytes
/
Copy pathpython3-ac_fixes.patch
File metadata and controls
29 lines (27 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- 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"
;;