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>
19 lines
540 B
Makefile
19 lines
540 B
Makefile
################################################################################
|
|
#
|
|
# libpqxx
|
|
#
|
|
################################################################################
|
|
|
|
LIBPQXX_VERSION = 7.7.5
|
|
LIBPQXX_SITE = $(call github,jtv,libpqxx,$(LIBPQXX_VERSION))
|
|
LIBPQXX_INSTALL_STAGING = YES
|
|
LIBPQXX_DEPENDENCIES = postgresql
|
|
LIBPQXX_LICENSE = BSD-3-Clause
|
|
LIBPQXX_LICENSE_FILES = COPYING
|
|
|
|
LIBPQXX_CONF_ENV = \
|
|
ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config \
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++17"
|
|
|
|
$(eval $(autotools-package))
|