aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2014-06-03 16:43:35 -0400
committerPhilip Balister <philip@opensdr.com>2014-06-03 17:35:47 -0400
commit57486eb4bcab31fc522eabefcb0b199230586317 (patch)
treecbb1b45451cd4fc8f3b0e6186b4c489f20b16756 /host/lib/convert
parentbae76224e30444f0721434e48233fd47a39e2069 (diff)
downloaduhd-57486eb4bcab31fc522eabefcb0b199230586317.tar.gz
uhd-57486eb4bcab31fc522eabefcb0b199230586317.tar.bz2
uhd-57486eb4bcab31fc522eabefcb0b199230586317.zip
Do not set the mfloat-soft flag during the test for arm_neon.h.
Use the flags passed in from the toolchain. If this test runs on a hard-float system, bad things happen. Signed-off-by: Philip Balister <philip@opensdr.com>
Diffstat (limited to 'host/lib/convert')
-rw-r--r--host/lib/convert/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/host/lib/convert/CMakeLists.txt b/host/lib/convert/CMakeLists.txt
index 00e129b78..473b7f59f 100644
--- a/host/lib/convert/CMakeLists.txt
+++ b/host/lib/convert/CMakeLists.txt
@@ -90,17 +90,10 @@ ENDIF(HAVE_EMMINTRIN_H)
# Check for NEON SIMD headers
########################################################################
IF(CMAKE_COMPILER_IS_GNUCXX)
- SET(NEON_FLAGS "-mfloat-abi=softfp -mfpu=neon")
- SET(CMAKE_REQUIRED_FLAGS ${NEON_FLAGS})
CHECK_INCLUDE_FILE_CXX(arm_neon.h HAVE_ARM_NEON_H)
- UNSET(CMAKE_REQUIRED_FLAGS)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
IF(HAVE_ARM_NEON_H)
- SET_SOURCE_FILES_PROPERTIES(
- ${CMAKE_CURRENT_SOURCE_DIR}/convert_with_neon.cpp
- PROPERTIES COMPILE_FLAGS "${NEON_FLAGS}"
- )
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/convert_with_neon.cpp
)