From c17b17f34016ed92322cc2eb1c565823a35932e1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 19 Oct 2022 19:44:47 +0300 Subject: [PATCH] Link to libatomic Signed-off-by: David Abdurachmanov --- qt5-qtwebkit.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index d9ddc6d..4da89e8 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -18,7 +18,7 @@ Name: qt5-%{qt_module} Version: 5.212.0 -Release: 0.68.%{?prerel}.0.riscv64%{?dist} +Release: 0.68.%{?prerel}.1.riscv64%{?dist} Summary: Qt5 - QtWebKit components License: LGPLv2 and BSD @@ -159,6 +159,11 @@ test -f Source/WebCore/Resources/textAreaResizeCorner.png CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags} -fpermissive" ; export CXXFLAGS ; %{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} + +%ifarch riscv64 +export LDFLAGS="${LDFLAGS} -latomic" +%endif + # We cannot use default cmake macro here as it overwrites some settings queried # by qtwebkit cmake from qmake %cmake \ @@ -253,6 +258,9 @@ test -z "$(pkg-config --cflags Qt5WebKit | grep Qt5WebKit)" %changelog +* Wed Oct 19 2022 David Abdurachmanov - 5.212.0-0.68.alpha4.1.riscv64 +- Link to libatomic + * Wed Oct 19 2022 David Abdurachmanov - 5.212.0-0.68.alpha4.0.riscv64 - Enable riscv64