Skip to content

Commit 98d435a

Browse files
committed
[C++] Do not set non standard optimizations in Release builds.
By default CMake sets O3 for Release builds.
1 parent 810ab5e commit 98d435a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ find_package(Threads)
8282

8383
if(UNIX)
8484
add_compile_options(-Wall -Wpedantic -Wextra -Wno-unused-parameter)
85-
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast")
8685
endif()
8786

8887
if(APPLE)

0 commit comments

Comments
 (0)