Skip to content

configure: add -Wformat to CFLAGS#904

Merged
williamcroberts merged 1 commit intotpm2-software:masterfrom
williamcroberts:fix-for-cflags
Sep 13, 2025
Merged

configure: add -Wformat to CFLAGS#904
williamcroberts merged 1 commit intotpm2-software:masterfrom
williamcroberts:fix-for-cflags

Conversation

@williamcroberts
Copy link
Member

Without -Wformat for -Wformat-security, gcc will complain:

checking whether the C compiler accepts -Wformat-security... no configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening

Related to: #899

Without -Wformat for -Wformat-security, gcc will complain:

checking whether the C compiler accepts -Wformat-security... no
configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening

Related to: tpm2-software#899

Signed-off-by: Bill Roberts <bill.c.roberts@gmail.com>
@williamcroberts williamcroberts merged commit be97b21 into tpm2-software:master Sep 13, 2025
24 of 25 checks passed
@williamcroberts williamcroberts deleted the fix-for-cflags branch September 13, 2025 18:05
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.

1 participant