package/libpqxx: needs gcc >= 4.9

libpqxx uses brace-initialisation since version 6.3.0 and
c93a4626f4

Fixes:
 - http://autobuild.buildroot.org/results/3416a2eaa6b69014f733d38a17c161b024301534

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-10-15 21:39:01 +02:00 committed by Thomas Petazzoni
parent fc8c8f300e
commit 23dc553da7

View File

@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBPQXX
bool "libpqxx" bool "libpqxx"
depends on BR2_PACKAGE_POSTGRESQL depends on BR2_PACKAGE_POSTGRESQL
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
help help
libpqxx is the official C++ client API for PostgreSQL, the libpqxx is the official C++ client API for PostgreSQL, the
@ -10,8 +10,8 @@ config BR2_PACKAGE_LIBPQXX
http://pqxx.org/development/libpqxx/ http://pqxx.org/development/libpqxx/
comment "libpqxx needs toolchain w/ C++, gcc >= 4.8, threads" comment "libpqxx needs toolchain w/ C++, gcc >= 4.9, threads"
depends on BR2_PACKAGE_POSTGRESQL depends on BR2_PACKAGE_POSTGRESQL
depends on !BR2_INSTALL_LIBSTDCPP || \ depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_TOOLCHAIN_HAS_THREADS !BR2_TOOLCHAIN_HAS_THREADS