[Buildroot] [git commit branch/next] package/p7zip: needs __sync_*_4 intrisics

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2021-08-03 22:31:03
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=13e2ce57e9604c6f561366ad8a19b1fb97a85750
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

p7zip needs __sync_*_4 intrisics since its bump to version 17.04 in
commit 9332ab86f8953a8710b9377d3fba46c986610254 and
https://github.com/jinfeihan57/p7zip/commit/b0bf49e3e14ef291281b6c318c75db96c03910bc
https://github.com/jinfeihan57/p7zip/commit/6175cdaf3e762cc9e03c8af00e76ffe60d3e0844

Fixes:
 - http://autobuild.buildroot.org/results/4e1a920d09528b87803cc2e7245a470c85548946

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/p7zip/Config.in | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/package/p7zip/Config.in b/package/p7zip/Config.in
index a3adab5b3d..badfb9b9e8 100644
--- a/package/p7zip/Config.in
+++ b/package/p7zip/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_P7ZIP
 	bool "p7zip"
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_WCHAR
@@ -12,4 +13,5 @@ config BR2_PACKAGE_P7ZIP
 	  http://sourceforge.net/projects/p7zip
 
 comment "p7zip needs a toolchain w/ threads, wchar, C++"
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help