package/suricata: link with libatomic if needed
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 12 Nov 2020 20:22:02 +0000 (21:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Nov 2020 13:52:12 +0000 (14:52 +0100)
commitf452490b930882038f57ec3ac5e7f2e5400c2316
treebdeb99a9cbfb29fc4125fed7c9a0d04ef5bcde0f
parentfefdd0511e99676aceb09403063f336e631d5067
package/suricata: link with libatomic if needed

Fix build of suricata 6.0.0 with mips32r6

app-layer-ftp.o: In function `FTPCheckMemcap':
app-layer-ftp.c:(.text+0x284): undefined reference to `__atomic_load_8'
app-layer-ftp.c:(.text+0x2d8): undefined reference to `__atomic_fetch_add_8'

Fixes:
 - http://autobuild.buildroot.org/results/f574005204905250702df32b61c85d427ab4feda

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/suricata/suricata.mk