From 38593462f4dfdf8943a69fecdfc69576074c06bf Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 16 Mar 2023 14:47:54 +0100 Subject: [PATCH] unset RUSTFLAGS from set_build_flags Otherwise since https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/243 the build breaks. --- thunderbird.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index e220f48..b64e316 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -527,6 +527,9 @@ MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}" %endif %ifarch %{arm} %{ix86} %{s390x} export RUSTFLAGS="-Cdebuginfo=0" +%else +# Otherwise since https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/243 breaks build. +unset RUSTFLAGS %endif # We don't want thunderbird to use CK_GCM_PARAMS_V3 in nss MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"