Skip to content

Commit

Permalink
Extend configure with .gcov
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Dec 30, 2024
1 parent cd0e54e commit 04f1f56
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ case $config in
;;
esac

# gcov
#
# Prepare for coverage analysis

case $config in
*gcov*)
opts+=" -DGCOV=ON -DINSTALL_TESTS=ON"
CFLAGS+=" -fno-inline"
;;
esac

# c11
#
# Enable pedantic C11 checking for GCC. Use for compliancy testing as
Expand Down

0 comments on commit 04f1f56

Please sign in to comment.