diff options
Diffstat (limited to 'package/protobuf/Config.in')
-rw-r--r-- | package/protobuf/Config.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in index 03d118cfc1..8287035756 100644 --- a/package/protobuf/Config.in +++ b/package/protobuf/Config.in @@ -30,6 +30,8 @@ config BR2_PACKAGE_PROTOBUF depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_HOST_GCC_AT_LEAST_4_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 depends on !BR2_STATIC_LIBS help Protocol buffers are Google's language-neutral, platform-neutral, @@ -37,7 +39,8 @@ config BR2_PACKAGE_PROTOBUF https://developers.google.com/protocol-buffers -comment "protobuf needs a toolchain w/ C++, threads, dynamic library" +comment "protobuf needs a toolchain w/ C++, threads, dynamic library, host and target gcc >= 4.5" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_4_5 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS |