]>
Commit | Line | Data |
---|---|---|
bde5d589 | 1 | diff -Nur Python-2.5.2.orig/configure.in Python-2.5.2/configure.in |
2 | --- Python-2.5.2.orig/configure.in 2008-02-13 19:17:17.000000000 +0000 | |
3 | +++ Python-2.5.2/configure.in 2008-02-26 09:43:17.000000000 +0000 | |
4 | @@ -767,13 +767,13 @@ | |
ca37566f | 5 | if test "$Py_DEBUG" = 'true' ; then |
6 | # Optimization messes up debuggers, so turn it off for | |
a7c5cbca | 7 | # debug builds. |
ca37566f | 8 | - OPT="-g -Wall $STRICT_PROTO" |
9 | + OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" | |
a7c5cbca | 10 | else |
bde5d589 | 11 | - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" |
12 | + OPT="-g $WRAP $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" | |
9d0d4238 | 13 | fi |
14 | ;; | |
a7c5cbca | 15 | *) |
ca37566f | 16 | - OPT="-O3 -Wall $STRICT_PROTO" |
17 | + OPT="$CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" | |
9d0d4238 | 18 | ;; |
a7c5cbca | 19 | esac |
9d0d4238 | 20 | case $ac_sys_system in |
bde5d589 | 21 | diff -Nur Python-2.5.2.orig/Makefile.pre.in Python-2.5.2/Makefile.pre.in |
22 | --- Python-2.5.2.orig/Makefile.pre.in 2007-12-05 20:43:57.000000000 +0000 | |
23 | +++ Python-2.5.2/Makefile.pre.in 2008-02-26 09:41:02.000000000 +0000 | |
24 | @@ -861,7 +861,7 @@ | |
65cc7ea0 | 25 | $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh |
26 | # Substitution happens here, as the completely-expanded BINDIR | |
27 | # is not available in configure | |
28 | - sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config | |
29 | + sed -e "s,@EXENAME@,$(BINDIR)/python$(EXE)," < $(srcdir)/Misc/python-config.in >python-config | |
30 | $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config | |
31 | rm python-config | |
32 | @if [ -s Modules/python.exp -a \ |