From dde6d26a800bcad40f39a9985d931fda5cce746c Mon Sep 17 00:00:00 2001 From: misaka00251 Date: Wed, 24 Apr 2024 11:31:15 +0800 Subject: [PATCH] Build arguments is too strict for riscv64 w/ latest toolchain (cherry picked from commit 8addf0892cd19084aeae37e81388a0177fabcc42) --- qt-at-spi.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qt-at-spi.spec b/qt-at-spi.spec index 1a7f8a1..23fba83 100644 --- a/qt-at-spi.spec +++ b/qt-at-spi.spec @@ -1,6 +1,6 @@ Name: qt-at-spi Version: 0.3.1 -Release: 1 +Release: 2 Summary: Qt plugin that bridges Qt's accessibility API to AT-SPI2 License: LGPLv2+ @@ -31,6 +31,9 @@ install -m644 -p %{SOURCE1} . %build +%ifarch riscv64 +sed -i -e '/-Werror$/d' src/src.pro +%endif %{qmake_qt4} %make_build @@ -56,5 +59,8 @@ make install INSTALL_ROOT=%{buildroot} %changelog +* Wed Apr 24 2024 misaka00251 - 0.3.1-2 +- Build arguments is too strict for riscv64 w/ latest toolchain + * Thu Feb 18 2021 weidong - 0.3.1-1 - Initial package