diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-20 22:37:40 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-20 22:37:40 +0100 |
commit | 2d088f93f155f1de2b4328f864fefaa966bd1540 (patch) | |
tree | 063bf9ddbd3e43dc35e807c01cb0c8ff43d431c9 /pcr/pjproject/arm-build.patch | |
parent | f3d4afa1277cecf36ea6b91cce20f9468cb71e52 (diff) | |
download | abslibre-2d088f93f155f1de2b4328f864fefaa966bd1540.tar.gz abslibre-2d088f93f155f1de2b4328f864fefaa966bd1540.tar.bz2 abslibre-2d088f93f155f1de2b4328f864fefaa966bd1540.zip |
pcr/pjproject: added
Diffstat (limited to 'pcr/pjproject/arm-build.patch')
-rw-r--r-- | pcr/pjproject/arm-build.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pcr/pjproject/arm-build.patch b/pcr/pjproject/arm-build.patch new file mode 100644 index 000000000..06dde3493 --- /dev/null +++ b/pcr/pjproject/arm-build.patch @@ -0,0 +1,53 @@ +diff -ur pjproject-2.6.orig/aconfigure pjproject-2.6/aconfigure +--- pjproject-2.6.orig/aconfigure 2017-01-25 11:23:08.000000000 +0000 ++++ pjproject-2.6/aconfigure 2017-05-03 21:41:34.657154786 +0000 +@@ -8494,7 +8494,15 @@ + 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 -ur pjproject-2.6.orig/aconfigure.ac pjproject-2.6/aconfigure.ac +--- pjproject-2.6.orig/aconfigure.ac 2017-01-25 11:23:08.000000000 +0000 ++++ pjproject-2.6/aconfigure.ac 2017-05-03 21:42:41.686846516 +0000 +@@ -1840,7 +1840,15 @@ + 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 -ur pjproject-2.6.orig/third_party/build/os-auto.mak.in pjproject-2.6/third_party/build/os-auto.mak.in +--- pjproject-2.6.orig/third_party/build/os-auto.mak.in 2016-12-22 09:33:55.000000000 +0000 ++++ pjproject-2.6/third_party/build/os-auto.mak.in 2017-05-03 21:25:48.151562278 +0000 +@@ -104,8 +104,7 @@ + else # Generic fixed point + WEBRTC_SRC = \ + modules/audio_processing/aecm/aecm_core_c.o \ +- modules/audio_processing/ns/nsx_core_c.o \ +- common_audio/signal_processing/complex_fft.o ++ modules/audio_processing/ns/nsx_core_c.o + endif + endif + endif |