diff options
author | Brian Behlendorf <[email protected]> | 2017-09-22 22:16:18 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2018-03-14 16:10:36 -0700 |
commit | 6897ea475fd0c82a74edacf374d4e339f9a9b86b (patch) | |
tree | 19c65230dc79ce4a1027645cf8d933585ffa96db /config | |
parent | 3790bfa80f9b26fd750b4a554c5707b9d380aac4 (diff) |
Fix "--enable-code-coverage" debug build
When --enable-code-coverage is provided it should not result
in NDEBUG being defined. This is controlled by --enable-debug.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #6674
Diffstat (limited to 'config')
-rw-r--r-- | config/ax_code_coverage.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ax_code_coverage.m4 b/config/ax_code_coverage.m4 index 6484f0332..4417d4444 100644 --- a/config/ax_code_coverage.m4 +++ b/config/ax_code_coverage.m4 @@ -124,7 +124,7 @@ AC_DEFUN([AX_CODE_COVERAGE],[ dnl Build the code coverage flags dnl Define CODE_COVERAGE_LDFLAGS for backwards compatibility - CODE_COVERAGE_CPPFLAGS="-DNDEBUG" + CODE_COVERAGE_CPPFLAGS="" CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" CODE_COVERAGE_LIBS="-lgcov" |