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
This commit is contained in:
@@ -21,7 +21,7 @@ if (BUILD_RT_VISUALIZATION)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
## Compilation flags
|
## 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)
|
add_compile_options(-Wall -Wextra -Werror -Wdouble-promotion -Wfloat-conversion)# -Wshadow)
|
||||||
|
|
||||||
## Compile and link
|
## Compile and link
|
||||||
|
Reference in New Issue
Block a user