Skip to content

Commit

Permalink
add config for generating coverage data
Browse files Browse the repository at this point in the history
  • Loading branch information
suiginsoft committed Nov 14, 2018
1 parent 3847694 commit b593eb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions config-coverage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include config.mk

CC = gcc
CFLAGS = -O0 -fprofile-arcs -ftest-coverage \
-std=c99 -pedantic -pthread \
-Wall -Wextra -Waggregate-return -Wconversion -Wshadow
4 changes: 2 additions & 2 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ STRIP = strip
AS = as

# toolchain flags
CFLAGS = -O3 -std=c99 -pedantic -pthread -Wall -Wextra -Waggregate-return \
-Wconversion -Wshadow
CFLAGS = -O3 -std=c99 -pedantic -pthread \
-Wall -Wextra -Waggregate-return -Wconversion -Wshadow
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L
ASFLAGS =
LDFLAGS = -s
Expand Down

0 comments on commit b593eb6

Please sign in to comment.