mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
fefdd0511e
commit
f452490b93
@@ -43,6 +43,10 @@ SURICATA_CONF_OPTS = \
|
|||||||
# download through wget/curl)
|
# download through wget/curl)
|
||||||
SURICATA_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install install-conf
|
SURICATA_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install install-conf
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||||
|
SURICATA_CONF_ENV += LIBS=-latomic
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FILE),y)
|
ifeq ($(BR2_PACKAGE_FILE),y)
|
||||||
SURICATA_DEPENDENCIES += file
|
SURICATA_DEPENDENCIES += file
|
||||||
SURICATA_CONF_OPTS += --enable-libmagic
|
SURICATA_CONF_OPTS += --enable-libmagic
|
||||||
|
|||||||
Reference in New Issue
Block a user