link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Sat, 17 Dec 2022 15:20:02 +0000 (15:20 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 17 Dec 2022 15:20:02 +0000 (15:20 +0000)
commitcea495253742b4e5330bfe500713ef90afc88545
tree3b5a507992e969f0a32f750d5b939bcacd7d5597
parent0b2f8fa2002a2f478518c5c20b0ced05a2f5471a
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