Skip to content

build: guard --coverage linker flag behind CODE_COVERAGE_ENABLED#74

Merged
zandbelt merged 1 commit intoOpenIDC:masterfrom
kraj:kraj/coverage-fix
Apr 18, 2026
Merged

build: guard --coverage linker flag behind CODE_COVERAGE_ENABLED#74
zandbelt merged 1 commit intoOpenIDC:masterfrom
kraj:kraj/coverage-fix

Conversation

@kraj
Copy link
Copy Markdown
Contributor

@kraj kraj commented Apr 17, 2026

AM_LDFLAGS passes --coverage to the linker unconditionally, it causes coverage instrumentation to be enabled even when configured with --disable-code-coverage. Wrap it in the automake conditional provided by AX_CODE_COVERAGE.

AM_LDFLAGS passes --coverage to the linker unconditionally,
it causes coverage instrumentation to be enabled even when
configured with --disable-code-coverage. Wrap it in the
automake conditional provided by AX_CODE_COVERAGE.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
@zandbelt zandbelt merged commit 2843493 into OpenIDC:master Apr 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants