Fixed NEON compilation errors, changed float-abi back to softfp (which is the most used right now).

Some complex tests appear to segfault, needs a more careful look.
This commit is contained in:
Konstantinos Margaritis
2010-12-10 20:27:46 +02:00
parent b11343e15c
commit e05c79cbd8
3 changed files with 15 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
option(EIGEN_TEST_NEON "Enable/Disable Neon in tests/examples" OFF)
if(EIGEN_TEST_NEON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a8")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a8")
message("Enabling NEON in tests/examples")
endif()