link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Tue, 21 May 2024 15:43:48 +0000 (18:43 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 21 May 2024 15:43:48 +0000 (18:43 +0300)
commit5e84e6ab249f746759acb5825890a24e73fef8f5
treeae42d34e746e6a37e005c5c525e728bec57e2201
parent8928875588a9f1398da3d790c7aebe4875c7abe6
link the openglrenderer plugin with -latomic on riscv64

Forwarded: no
Last-Update: 2020-10-30

Otherwise it fails to build with the following error:
/usr/bin/ld: .obj/renderview.o: in function `QHash<int, Qt3DRender::Render::OpenGL::RenderView::StandardUniform>::findNode(int const&, unsigned int) const':
/usr/include/riscv64-linux-gnu/qt5/QtCore/qhash.h:931: undefined reference to `__atomic_exchange_1'

Gbp-Pq: Name riscv64_atomic.diff
src/plugins/renderers/opengl/opengl.pri