Remove -march=native to fix ARM builds
This flag breaks ARM builds and doesn't buy us much when building on other architectures.
This commit is contained in:
parent
0622e7d24e
commit
11d3e7faa8
@ -8,7 +8,7 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
|
|
||||||
option(ENABLE_JOURNALD "Enable logging to journald" ON)
|
option(ENABLE_JOURNALD "Enable logging to journald" ON)
|
||||||
|
|
||||||
add_definitions(-Wall -march=native -std=c++11)
|
add_definitions(-Wall -std=c++11)
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE Release)
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
|
Loading…
Reference in New Issue
Block a user