pjsip: Fix compilation on aarch64

gstqt5
Daniel Schaefer 2019-07-06 05:01:43 +02:00
parent d4c661fb27
commit 53506d9c15
2 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0dm6l8fypkimmzvld35zyykbg957cm5zb4ny3lchgv68amwfz1fi";
};
patches = [ ./fix-aarch64.patch ];
buildInputs = [ openssl libsamplerate alsaLib ];
preConfigure = ''

View File

@ -0,0 +1,13 @@
--- a/aconfigure
+++ b/aconfigure
@@ -8945,6 +8945,10 @@
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
;;
+ arm64*|aarch64*)
+ ac_webrtc_instset=neon
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
+ ;;
*)
ac_webrtc_instset=sse2
;;