[Buildroot] [PATCH] package/libseccomp: works only on x86

Yann E. MORIN yann.morin.1998 at free.fr
Sun Dec 16 22:56:34 UTC 2012

As it is, the libseccomp code explicitly checks for x86 (32- or 64-bit),
so it can't work on other architectures.

Reported-by: Peter Korsgaard <jacmet at uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 package/libseccomp/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/libseccomp/Config.in b/package/libseccomp/Config.in
index 1e524d2..9ee1697 100644
--- a/package/libseccomp/Config.in
+++ b/package/libseccomp/Config.in
@@ -1,5 +1,6 @@
 	bool "libseccomp"
+	depends on BR2_i386 || BR2_x86_64
 	  High level interface to the Linux Kernel's seccomp filter

More information about the buildroot mailing list