From e4b981fc6204d330439de92df1e27e764d67caf7 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 6 Aug 2019 14:59:41 +0300 Subject: [PATCH] Removed the O2 flag since cmake still defines the O3 flag in CMAKE_CXX_FLAGS_RELEASE and it's confusing which one gcc chooses if both O3 and O2 are passed during compilation. If the issue was the march=native flag then this should also work on Tiara --- src/standalone/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standalone/CMakeLists.txt b/src/standalone/CMakeLists.txt index ed9bda9..ea1d04c 100644 --- a/src/standalone/CMakeLists.txt +++ b/src/standalone/CMakeLists.txt @@ -21,7 +21,7 @@ if (BUILD_RT_VISUALIZATION) endif () ## Compilation flags -add_compile_options(-O2 -pipe ${OpenMP_CXX_FLAGS}) +add_compile_options(-pipe ${OpenMP_CXX_FLAGS}) add_compile_options(-Wall -Wextra -Werror -Wdouble-promotion -Wfloat-conversion)# -Wshadow) ## Compile and link