pioneer: fix build on ppc
[ci skip]
This commit is contained in:
parent
a88ceb7993
commit
f803421f2b
1 changed files with 11 additions and 0 deletions
11
srcpkgs/pioneer/patches/ppc.patch
Normal file
11
srcpkgs/pioneer/patches/ppc.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- contrib/profiler/Profiler.h
|
||||||
|
+++ contrib/profiler/Profiler.h
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
#undef fastcall
|
||||||
|
|
||||||
|
//#define USE_CHRONO
|
||||||
|
-#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64))
|
||||||
|
+#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(__powerpc__) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64))
|
||||||
|
// this isn't optional for __arm__ or x64 builds
|
||||||
|
#define USE_CHRONO
|
||||||
|
#endif
|
Loading…
Add table
Add a link
Reference in a new issue