summaryrefslogtreecommitdiffstats
path: root/package/libpqxx/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpqxx/Config.in')
-rw-r--r--package/libpqxx/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libpqxx/Config.in b/package/libpqxx/Config.in
index ddf14fd6ce..7832d2508e 100644
--- a/package/libpqxx/Config.in
+++ b/package/libpqxx/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBPQXX
bool "libpqxx"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
depends on BR2_PACKAGE_POSTGRESQL
help
libpqxx is the official C++ client API for PostgreSQL, the
@@ -8,6 +9,6 @@ config BR2_PACKAGE_LIBPQXX
http://pqxx.org/development/libpqxx/
-comment "libpqxx needs toolchain w/ C++ support"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "libpqxx needs toolchain w/ C++ support, gcc >= 4.7"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
depends on BR2_PACKAGE_POSTGRESQL
OpenPOWER on IntegriCloud