From 11d3e7faa873571165021d7ccb08f51b7875d2b8 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Wed, 21 May 2014 08:28:16 +0200 Subject: [PATCH] Remove -march=native to fix ARM builds This flag breaks ARM builds and doesn't buy us much when building on other architectures. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e3ac3c..be36a76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_AUTOMOC 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) set(CMAKE_BUILD_TYPE Release)