Skip to content

Commit 810ab5e

Browse files
committed
[C++] Do not explicitly set O0 for Debug builds.
1 parent 1fdcd5a commit 810ab5e

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_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0")
8685
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast")
8786
endif()
8887

0 commit comments

Comments
 (0)