From 87a809c03d32d49b2e6a61b812d20df71a28da97 Mon Sep 17 00:00:00 2001 From: Riza Sulistyo Date: Wed, 13 Jun 2018 16:27:32 +0000 Subject: [PATCH] =?UTF-8?q?Re=20#2059=20(misc):=20Patch=20to=20build=20Arc?= =?UTF-8?q?h=20Linux=20on=20ARMv7=20(e.g:=20Raspberry=20Pi).=20Thanks=20to?= =?UTF-8?q?=20Attila=20Bog=C3=A1r=20for=20the=20patch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5804 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure | 10 +++++++++- aconfigure.ac | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/aconfigure b/aconfigure index 81c1e45e8..d4e811a27 100755 --- a/aconfigure +++ b/aconfigure @@ -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 ;; *) ;; diff --git a/aconfigure.ac b/aconfigure.ac index 388f803fd..4d6cba04c 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -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 ;; *) ;;