link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Fri, 11 Dec 2020 08:31:28 +0000 (08:31 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 11 Dec 2020 08:31:28 +0000 (08:31 +0000)
commitc69321712a12d94c1b36eb1810509634f3482684
tree3f87e8766e8697a66a63f0b88d8c66f4578dd92a
parentfdb9c78fa486e18f797f779ff6901607a85ae3dd
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