kumquat-buildroot/package/libodb/libodb.mk
Fabrice Fontaine 69d2d1d91e package/libodb: fix build with gcc 11
GCC 11 defaults to C++17. Fix the following build failure with gcc 11:

In file included from details/shared-ptr/base.cxx:5:
../odb/details/shared-ptr/base.hxx:38:49: error: ISO C++17 does not allow dynamic exception specifications
   38 | operator new (std::size_t, odb::details::share) throw (std::bad_alloc);
      |                                                 ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/cfd5f92f0aa923815edba5fbfcd5b7b312d9d40e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-02 18:29:15 +02:00

17 lines
550 B
Makefile

################################################################################
#
# libodb
#
################################################################################
LIBODB_VERSION_MAJOR = 2.4
LIBODB_VERSION = $(LIBODB_VERSION_MAJOR).0
LIBODB_SOURCE = libodb-$(LIBODB_VERSION).tar.bz2
LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR)
LIBODB_INSTALL_STAGING = YES
LIBODB_LICENSE = GPL-2.0
LIBODB_LICENSE_FILES = LICENSE
LIBODB_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
$(eval $(autotools-package))