1e0e8540eb
libpqxx's v7.x series requires C++17 support. Adjust the configuration selection to require a newer toolchain, as well as force a C++17 standard to ensure libpqxx's custom C++ standard check [1] passes. Fixes: - http://autobuild.buildroot.net/results/a79cb93aec74acc8e32809530c09e26bebaf16e4/ - http://autobuild.buildroot.net/results/ae1a02b5238b650cdc79edb298c398b078882cfc/ [1]: https://github.com/jtv/libpqxx/blob/7.7.5/configure.ac#L106-L124 Signed-off-by: James Knight <james.d.knight@live.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
18 lines
566 B
Plaintext
18 lines
566 B
Plaintext
config BR2_PACKAGE_LIBPQXX
|
|
bool "libpqxx"
|
|
depends on BR2_PACKAGE_POSTGRESQL
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
help
|
|
libpqxx is the official C++ client API for PostgreSQL, the
|
|
enterprise-strength open-source relational database.
|
|
|
|
http://pqxx.org/development/libpqxx/
|
|
|
|
comment "libpqxx needs toolchain w/ C++, gcc >= 7, threads"
|
|
depends on BR2_PACKAGE_POSTGRESQL
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|