diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-28 16:31:39 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-28 16:31:39 +0100 |
commit | 333245969917c94a03900881cc9ac5c1c401ab86 (patch) | |
tree | f946b05d7bbbd122b22b58f721dbfae1697939fb /package/python3/patches/patch-configure | |
parent | abf9133a1ccc45a695d567cea9d94c19fc1c2b5d (diff) |
update python3 to new host build style
Diffstat (limited to 'package/python3/patches/patch-configure')
-rw-r--r-- | package/python3/patches/patch-configure | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/python3/patches/patch-configure b/package/python3/patches/patch-configure new file mode 100644 index 000000000..12bdfbcc8 --- /dev/null +++ b/package/python3/patches/patch-configure @@ -0,0 +1,34 @@ +--- Python-3.3.2.orig/configure 2013-05-15 18:33:00.000000000 +0200 ++++ Python-3.3.2/configure 2013-10-24 16:05:44.000000000 +0200 +@@ -6214,10 +6214,6 @@ then + if test "$CC" != 'g++' ; then + STRICT_PROTO="-Wstrict-prototypes" + fi +- # For gcc 4.x we need to use -fwrapv so lets check if its supported +- if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then +- WRAP="-fwrapv" +- fi + + # Clang also needs -fwrapv + case $CC in +@@ -6225,20 +6221,6 @@ then + ;; + esac + +- 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. +- OPT="-g -O0 -Wall $STRICT_PROTO" +- else +- OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" +- fi +- ;; +- *) +- OPT="-O3 -Wall $STRICT_PROTO" +- ;; +- esac + case $ac_sys_system in + SCO_SV*) OPT="$OPT -m486 -DSCO5" + ;; |