Skip to content

Commit 7831b8f

Browse files
author
Seppo Takalo
committed
Remove extra GCC arquements.
"--coverage" is synonym to "-fprofile-arcs -ftest-coverage" https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html This was causing extra compilation warnings on CLANG.
1 parent c93c181 commit 7831b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if (COVERAGE)
7676
endif()
7777

7878
# Append coverage compiler flags
79-
set(COVERAGE_COMPILER_FLAGS "-g -O0 --coverage -fprofile-arcs -ftest-coverage")
79+
set(COVERAGE_COMPILER_FLAGS "-g -O0 --coverage")
8080
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COVERAGE_COMPILER_FLAGS}")
8181
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COVERAGE_COMPILER_FLAGS}")
8282

0 commit comments

Comments
 (0)