aboutsummaryrefslogtreecommitdiff
path: root/package/tor
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-04-26 12:29:46 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 14:29:30 +0200
commitdbe7e621aa3190d97d10285a3d6f20e20420ef12 (patch)
tree1986c0323918a3f7bafdf7e40902060b5d2898f2 /package/tor
parent21e1a05f25bde30f20be030f16196899999e14ec (diff)
downloadbuildroot-dbe7e621aa3190d97d10285a3d6f20e20420ef12.tar.gz
buildroot-dbe7e621aa3190d97d10285a3d6f20e20420ef12.tar.bz2
package/tor: limit libseccomp support to archs supported by upstream
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>
Diffstat (limited to 'package/tor')
-rw-r--r--package/tor/tor.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/tor/tor.mk b/package/tor/tor.mk
index 138a5b2734..2c671baad5 100644
--- a/package/tor/tor.mk
+++ b/package/tor/tor.mk
@@ -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