Link to libatomic
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
77311743db
commit
c17b17f340
@ -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 <davidlt@rivosinc.com> - 5.212.0-0.68.alpha4.1.riscv64
|
||||
- Link to libatomic
|
||||
|
||||
* Wed Oct 19 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.212.0-0.68.alpha4.0.riscv64
|
||||
- Enable riscv64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user