app-crypt/tpm2-openssl: Remove forced -Werror

Closes: https://bugs.gentoo.org/976265
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46527
Closes: https://github.com/gentoo/gentoo/pull/46527
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christopher Byrne
2026-07-07 18:39:51 -05:00
committed by Sam James
parent 59b128e944
commit 67dca78b6c
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/Makefile.am b/Makefile.am
index c531141..786ee22 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,7 +42,7 @@ else
@CODE_COVERAGE_RULES@
endif
-COMMON_CFLAGS = -Werror -Wall $(CRYPTO_CFLAGS)
+COMMON_CFLAGS = -Wall $(CRYPTO_CFLAGS)
COMMON_LDFLAGS =
if WITH_ASAN
COMMON_CFLAGS += -O1 -g -fsanitize=address -fno-omit-frame-pointer

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,6 +31,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch"
"${FILESDIR}/${PN}-1.3.0-tests-remove-systemd-ism.patch"
"${FILESDIR}/${PN}-1.3.0-no-Werror.patch"
)
src_prepare() {