package/libpqxx: needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 15 Oct 2019 19:39:01 +0000 (21:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 16 Oct 2019 20:18:42 +0000 (22:18 +0200)
libpqxx uses brace-initialisation since version 6.3.0 and
https://github.com/jtv/libpqxx/commit/c93a4626f4d1311a9566f5d8d69052acf2082df9

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>
package/libpqxx/Config.in

index 9553d7903c331900f8b6b354fe02e2ba9a5aea46..d06451d7928ec9adf21bbfc8535f0787899343d4 100644 (file)
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBPQXX
        bool "libpqxx"
        depends on BR2_PACKAGE_POSTGRESQL
        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
        help
          libpqxx is the official C++ client API for PostgreSQL, the
@@ -10,8 +10,8 @@ config BR2_PACKAGE_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_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
                !BR2_TOOLCHAIN_HAS_THREADS