ppc64/aarch64 buildfixes OBS-URL: https://build.opensuse.org/request/show/969255 OBS-URL: https://build.opensuse.org/package/show/network:telephony/opal?expand=0&rev=13
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2022-04-11 15:14:12.245492833 +0200
|
|
References: https://sourceforge.net/p/opalvoip/bugs/605/
|
|
|
|
Add definitions for aarch64, ppc64, ppc64le to iSAC.
|
|
|
|
---
|
|
plugins/audio/iSAC/iSAC/typedefs.h | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
Index: opal-3.18.8/plugins/audio/iSAC/iSAC/typedefs.h
|
|
===================================================================
|
|
--- opal-3.18.8.orig/plugins/audio/iSAC/iSAC/typedefs.h
|
|
+++ opal-3.18.8/plugins/audio/iSAC/iSAC/typedefs.h
|
|
@@ -45,6 +45,15 @@
|
|
//#define WEBRTC_ARCH_ARMEL
|
|
#define WEBRTC_ARCH_32_BITS
|
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
+#elif defined(__AARCH64EL__) || (defined(__powerpc64__) && defined(__LITTLE_ENDIAN__))
|
|
+#define WEBRTC_ARCH_64_BITS
|
|
+#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
+#elif (defined(__powerpc64__) && defined(__BIG_ENDIAN__))
|
|
+#define WEBRTC_ARCH_64_BITS
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
+#elif (defined(__powerpc__) && defined(__BIG_ENDIAN__))
|
|
+#define WEBRTC_ARCH_32_BITS
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
#elif defined(__MIPSEL__)
|
|
#define WEBRTC_ARCH_32_BITS
|
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|