package/uhd: fix build with ARM without NEON
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Fri, 30 Oct 2020 14:29:45 +0000 (15:29 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 1 Nov 2020 09:52:43 +0000 (10:52 +0100)
commitb07de37540ee34e4e5fa8586ecc40da1586cd940
tree29a299213b23c67c3b74a80fa4d4766a84d42c27
parentc87c0b336f07dd4ce6801a3412bae7da8f7dc21d
package/uhd: fix build with ARM without NEON

UHD has two issues with ARM:
1/ NEON_SIMD_ENABLE is always enabled when architecture is ARM. But NEON isn't
   necessarily support in the CPU
2/ when NEON is supported -mfpu=neon must be passed to the compiler (not
   automatically done by UHD)

Fixes:
- http://autobuild.buildroot.net/results/2519bd075b8c021b440677297b32f16b1c3cc3dd/
- http://autobuild.buildroot.net/results/99d9979be4f37c42390c87b1afd4cd33bac07f5e/
- http://autobuild.buildroot.net/results/cabc7a87ee869d6bac7d092c1a4fcfcdac22a96e/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/uhd/uhd.mk