From ef01150982d03395e867860d2ca9672853225b1d Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 19 Jan 2017 18:13:11 +0100 Subject: [PATCH] remove sse math in compiler options in libsrslte_rf.so --- srslte/lib/rf/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srslte/lib/rf/CMakeLists.txt b/srslte/lib/rf/CMakeLists.txt index 00e4dd6a4..d49ceea1f 100644 --- a/srslte/lib/rf/CMakeLists.txt +++ b/srslte/lib/rf/CMakeLists.txt @@ -33,8 +33,10 @@ if(RF_FOUND) list(APPEND SOURCES_RF rf_blade_imp.c) endif (BLADERF_FOUND) + add_compile_options(-march=native -mfpmath=sse -mno-avx -msse4.1) add_library(srslte_rf SHARED ${SOURCES_RF}) - + + if (UHD_FOUND) target_link_libraries(srslte_rf ${UHD_LIBRARIES}) endif (UHD_FOUND)