dev-dotnet/dotnet-sdk: use strip-flags to remove flags unsupported by clang

Closes: https://bugs.gentoo.org/962556
Reported-by: Vaclav Danek <danvac@seznam.cz>
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-09-09 22:12:56 +02:00
parent 988f19e3d5
commit 278612ff4f
2 changed files with 2 additions and 0 deletions

View File

@@ -163,6 +163,7 @@ pkg_setup() {
src_prepare() {
default
strip-flags
filter-flags -Werror=lto-type-mismatch # Not implemented by Clang, bug 946334
filter-flags -Wlto-type-mismatch
filter-lto

View File

@@ -178,6 +178,7 @@ pkg_setup() {
src_prepare() {
default
strip-flags
filter-flags -Werror=lto-type-mismatch # Not implemented by Clang, bug 946334
filter-flags -Wlto-type-mismatch
filter-lto