package/libseccomp: works only on x86
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 Dec 2012 12:56:34 +0000 (12:56 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 17 Dec 2012 06:25:29 +0000 (07:25 +0100)
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@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libseccomp/Config.in

index 1e524d2f19323aebc8f74fcc131d54915d4c2f50..9ee1697c4f055df15e3db59be4f2d6ff0481baff 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBSECCOMP
        bool "libseccomp"
+       depends on BR2_i386 || BR2_x86_64
        help
          High level interface to the Linux Kernel's seccomp filter