SOURCES: python-wxPython-CFLAGS.patch (NEW) - don't append -O3 (or...
twittner
twittner at pld-linux.org
Sun Aug 21 00:00:26 CEST 2005
Author: twittner Date: Sat Aug 20 22:00:25 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't append -O3 (or -O -g in 'debug mode')
---- Files affected:
SOURCES:
python-wxPython-CFLAGS.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-wxPython-CFLAGS.patch
diff -u /dev/null SOURCES/python-wxPython-CFLAGS.patch:1.1
--- /dev/null Sun Aug 21 00:00:25 2005
+++ SOURCES/python-wxPython-CFLAGS.patch Sun Aug 21 00:00:20 2005
@@ -0,0 +1,15 @@
+diff -Nur o.wxPython-src-2.6.1.0/wxPython/config.py n.wxPython-src-2.6.1.0/wxPython/config.py
+--- o.wxPython-src-2.6.1.0/wxPython/config.py 2005-06-04 18:23:06.000000000 +0200
++++ n.wxPython-src-2.6.1.0/wxPython/config.py 2005-08-19 21:40:48.000000000 +0200
+@@ -758,11 +758,6 @@
+
+ cflags = os.popen(WX_CONFIG + ' --cxxflags', 'r').read()[:-1]
+ cflags = cflags.split()
+- if debug:
+- cflags.append('-g')
+- cflags.append('-O0')
+- else:
+- cflags.append('-O3')
+
+ lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
+ lflags = lflags.split()
================================================================
More information about the pld-cvs-commit
mailing list