diff options
| author | Philip Balister <philip@opensdr.com> | 2014-06-03 16:43:35 -0400 | 
|---|---|---|
| committer | Philip Balister <philip@opensdr.com> | 2014-06-03 17:35:47 -0400 | 
| commit | 57486eb4bcab31fc522eabefcb0b199230586317 (patch) | |
| tree | cbb1b45451cd4fc8f3b0e6186b4c489f20b16756 | |
| parent | bae76224e30444f0721434e48233fd47a39e2069 (diff) | |
| download | uhd-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>
| -rw-r--r-- | host/lib/convert/CMakeLists.txt | 7 | 
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      ) | 
