Re #2059 (misc): Patch to build Arch Linux on ARMv7 (e.g: Raspberry Pi).

Thanks to Attila Bogár for the patch.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5804 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Riza Sulistyo 2018-06-13 16:27:32 +00:00
parent 94f40384f8
commit 87a809c03d
2 changed files with 18 additions and 2 deletions

View File

@ -8836,7 +8836,15 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6; }
ac_webrtc_cflags="-msse2"
;;
*win32* | *w32* | *darwin* | *linux*)
ac_webrtc_instset=sse2
case $target in
armv7l*gnueabihf)
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
;;
*)
ac_webrtc_instset=sse2
;;
esac
;;
*)
;;

View File

@ -1999,7 +1999,15 @@ AC_ARG_ENABLE(libwebrtc,
ac_webrtc_cflags="-msse2"
;;
*win32* | *w32* | *darwin* | *linux*)
ac_webrtc_instset=sse2
case $target in
armv7l*gnueabihf)
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
;;
*)
ac_webrtc_instset=sse2
;;
esac
;;
*)
;;