aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-01-03 12:58:08 +0000
committerHoward Chu <hyc@symas.com>2016-01-03 12:58:08 +0000
commitd26e7d0b3a53e0e7a38314b39a108a272d24c2f5 (patch)
treec8c92ca65cdb66ffb64403da91bd2f3b8d0f613b /CMakeLists.txt
parentARM chars are unsigned (diff)
downloadmonero-d26e7d0b3a53e0e7a38314b39a108a272d24c2f5.tar.xz
ARMv7 optimization flags are too aggressive
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fed936344..ae2a19c01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -346,8 +346,8 @@ else()
if(ARM7)
message(STATUS "Setting ARM7 C and C++ flags")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=vfpv4 -funsafe-math-optimizations -mtune=cortex-a7")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=vfpv4 -funsafe-math-optimizations -mtune=cortex-a7")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -mfloat-abi=hard")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mfloat-abi=hard")
endif()
if(APPLE)