1Description: When building for armhf, enable NEON
2 NEON is part of the armhf baseline, so this will always be enabled on
3 armhf.
4Author: Paul Tagliamonte <paultag@debian.org>
5Bug-Debian: https://bugs.debian.org/873608
6Origin: vendor
7Last-Update: 2017-08-29
8
9--- uhd-3.10.2.0.orig/host/lib/convert/CMakeLists.txt
10+++ uhd-3.10.2.0/host/lib/convert/CMakeLists.txt
11@@ -67,6 +67,8 @@ IF(HAVE_ARM_NEON_H AND (${CMAKE_SIZEOF_V
12 ${CMAKE_CURRENT_SOURCE_DIR}/convert_with_neon.cpp
13 ${CMAKE_CURRENT_SOURCE_DIR}/convert_neon.S
14 )
15+
16+ SET ( CMAKE_CXX_FLAGS "-mfpu=neon" )
17 ENDIF()
18
19 ########################################################################