mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
ARMv7 optimization flags are too aggressive
This commit is contained in:
parent
a561afa18b
commit
d26e7d0b3a
@ -346,8 +346,8 @@ else()
|
|||||||
|
|
||||||
if(ARM7)
|
if(ARM7)
|
||||||
message(STATUS "Setting ARM7 C and C++ flags")
|
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_C_FLAGS "${CMAKE_C_FLAGS} -O2 -mfloat-abi=hard")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=vfpv4 -funsafe-math-optimizations -mtune=cortex-a7")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mfloat-abi=hard")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user