Skip to contentSkip to conversation

package/tor: limit libseccomp support to archs supported by upstream

PATCH New Bernd Kuhls 2 participants 2 messages Apr 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/tor/tor.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/tor/tor.mk +1 -1
index 138a5b2..2c671ba 100644
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/tor: limit libseccomp support to archs supported by upstream

Dear Bernd Kuhls,

Quoted 10 lines · Bernd Kuhls

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/

---
 package/tor/tor.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com