link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Fri, 30 Oct 2020 18:03:47 +0000 (18:03 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 30 Oct 2020 18:03:47 +0000 (18:03 +0000)
commitd542c1f2ad0c3655e0cf9a317f8cd7d7cc2a6b3c
tree305ea7b36dac288686a7f66ecc7d76f6582bd1a4
parent49aa658e4845bb6299bd07363486f602e56ee776
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