pjsip: Fix compilation on aarch64
This commit is contained in:
parent
d4c661fb27
commit
53506d9c15
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0dm6l8fypkimmzvld35zyykbg957cm5zb4ny3lchgv68amwfz1fi";
|
||||
};
|
||||
|
||||
patches = [ ./fix-aarch64.patch ];
|
||||
|
||||
buildInputs = [ openssl libsamplerate alsaLib ];
|
||||
|
||||
preConfigure = ''
|
||||
|
13
pkgs/applications/networking/pjsip/fix-aarch64.patch
Normal file
13
pkgs/applications/networking/pjsip/fix-aarch64.patch
Normal 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
|
||||
;;
|
Loading…
Reference in New Issue
Block a user