package/tor: limit libseccomp support to archs supported by upstream
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 26 Apr 2015 10:29:46 +0000 (12:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 12:29:30 +0000 (14:29 +0200)
See this commit for a list of supported archs:
https://gitweb.torproject.org/tor.git/commit/src/common/sandbox.c?id=b0c1c700114aa8d4dfc180d85870c5bbe15fcacb

Fixes mips64el build error:
http://autobuild.buildroot.net/results/f97/f9792a0b013f6b79774ecc978d859f56bd941586/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tor/tor.mk

index 138a5b27347ad0d3dd7c79cb80ee23fef5c1008c..2c671baad55b14dea3bff3e129c0b0a8ec88690f 100644 (file)
@@ -25,7 +25,7 @@ TOR_CONF_OPTS += \
        --enable-static-zlib
 endif
 
-ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
+ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
 TOR_CONF_OPTS += --enable-seccomp
 TOR_DEPENDENCIES += libseccomp
 else