Skip to content

Commit ca6dee1

Browse files
committed
Drop duplicate -O3
Signed-off-by: Pat Riehecky <[email protected]>
1 parent eba6b46 commit ca6dee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${GLOBAL_OUTPUT_PATH})
3636
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" OR
3737
${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
3838
set(OPT "-O3")
39-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wextra -Wimplicit-fallthrough -pedantic -std=c99 -O3 ${OPT}")
39+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wextra -Wimplicit-fallthrough -pedantic -std=c99 ${OPT}")
4040
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -Wimplicit-fallthrough -Woverloaded-virtual -pedantic -std=c++17 -fPIC ${OPT}")
4141
else()
4242
# TODO: Windows support.

0 commit comments

Comments
 (0)