diff options
| author | Peter Jones <pjones@redhat.com> | 2024-12-17 13:07:38 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2024-12-17 13:35:41 -0500 |
| commit | 0c9249d13bced071986ada03846e2241143a1ad4 (patch) | |
| tree | f9a88143bdf22907fbcdb9ada6068938835f2e7f /Cryptlib/OpenSSL | |
| parent | ab06527eb0d5ca750eb50aac0d3d37d644b363d6 (diff) | |
| download | efi-boot-shim-0c9249d13bced071986ada03846e2241143a1ad4.tar.gz efi-boot-shim-0c9249d13bced071986ada03846e2241143a1ad4.zip | |
Suppress some warnings even harder in Cryptlib and OpenSSL.
In some cases the -Werror / -Wfoo / -Wno-foo / -Wno-error=foo bits
aren't propagating in a way that clang is happy with, so we get errors
about unused variables and the like in Cryptlib and OpenSSL.
We're never going to fix those nits in this tree, so this patch tries
even harder to make the compiler ignore them, or at least not end the
build with a benign error.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL')
| -rw-r--r-- | Cryptlib/OpenSSL/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile index d59c5d7a..e517bcfd 100644 --- a/Cryptlib/OpenSSL/Makefile +++ b/Cryptlib/OpenSSL/Makefile @@ -26,6 +26,9 @@ WARNFLAGS += -Wno-empty-body \ -Wno-unused-but-set-variable \ -Wno-unused-parameter +WERRFLAGS += -Wno-error=unused-but-set-variable \ + -Wno-error=unused-parameter + CFLAGS = $(FEATUREFLAGS) \ $(OPTIMIZATIONS) \ $(WARNFLAGS) \ |
