Unverified Commit 2760d85d authored by norvell's avatar norvell
Browse files

Remove force of gcc for GCOV

parent e3e30663
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ if(UNIX)
  # set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")

  # set C compiler
  if(GCC OR GCOV)
  if(GCC)
    find_program(cc NAMES gcc-13 gcc REQUIRED)
  else()
    find_program(cc NAMES clang-18 clang REQUIRED)
+0 −1
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ LDFLAGS += -g3
endif

ifeq "$(GCOV)" "1"
CC       = gcc
CFLAGS  += -fprofile-arcs -ftest-coverage -fprofile-update=atomic
LDFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic
endif