summaryrefslogtreecommitdiffstats
path: root/package/protobuf-c/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/protobuf-c/Config.in')
-rw-r--r--package/protobuf-c/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
index 732befc9c0..f9fab37a15 100644
--- a/package/protobuf-c/Config.in
+++ b/package/protobuf-c/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
+ # host-protobuf only builds on certain architectures
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Code generator and runtime libraries to use Protocol Buffers
from pure C (not C++).
@@ -10,3 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C
comment "protobuf-c needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
OpenPOWER on IntegriCloud