Skip to content

Commit

Permalink
Slightly corrected my implementation of code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Apr 15, 2017
1 parent 7bc91fb commit 351a104
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.inc
Expand Up @@ -109,10 +109,9 @@ GXX ?= g++
ifeq ($(strip $(DEBUG)), 1)
OPTIM_FLAGS = -ggdb
ifeq ($(strip $(COVERAGE)), 1)
GCC_FLAGS = -O0 -g --coverage
else
GCC_FLAGS =
OPTIM_FLAGS += -O0 -g --coverage
endif
GCC_FLAGS =
else
GCC_VER = $(shell gcc -dumpversion | cut -d . -f 1)
ifeq ($(shell if [ $(GCC_VER) -ge 4 ]; then echo 1; else echo 0; fi), 1)
Expand Down

0 comments on commit 351a104

Please sign in to comment.