* Wed Jan 5 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.8.b2
- set EXTRA_CFLAGS to our CFLAGS, rather than overriding OPT, fixing a linker error with dynamic annotations (when configured using --with-valgrind) - fix the ppc build of the debug configuration (patch 130; rhbz#661510)
This commit is contained in:
parent
31a06df0c4
commit
5659c63442
2 changed files with 40 additions and 3 deletions
19
python-3.2b2-fix-ppc-debug-build.patch
Normal file
19
python-3.2b2-fix-ppc-debug-build.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff -up Python-3.2b2/Python/ceval.c.fix-ppc-debug-build Python-3.2b2/Python/ceval.c
|
||||
--- Python-3.2b2/Python/ceval.c.fix-ppc-debug-build 2011-01-05 16:37:27.007598805 -0500
|
||||
+++ Python-3.2b2/Python/ceval.c 2011-01-05 16:45:06.562652472 -0500
|
||||
@@ -30,10 +30,11 @@
|
||||
|
||||
typedef unsigned long long uint64;
|
||||
|
||||
-#if defined(__ppc__) /* <- Don't know if this is the correct symbol; this
|
||||
- section should work for GCC on any PowerPC
|
||||
- platform, irrespective of OS.
|
||||
- POWER? Who knows :-) */
|
||||
+/* PowerPC suppport.
|
||||
+ "__ppc__" appears to be the preprocessor definition to detect on OS X, whereas
|
||||
+ "__powerpc__" appears to be the correct one for Linux with GCC
|
||||
+*/
|
||||
+#if defined(__ppc__) || defined (__powerpc__)
|
||||
|
||||
#define READ_TIMESTAMP(var) ppc_getcounter(&var)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue