kumquat-buildroot/package/libcutl/libcutl.mk
Fabrice Fontaine 4d6ca0a8ac package/libcutl: fix build with gcc 11
Add -std=c++11 to fix the following build failure with gcc 11:

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

Fixes:
 - http://autobuild.buildroot.org/results/60a39d402a0d051c92aa11421b7a14f7729a0380

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-06-01 21:59:35 +02:00

17 lines
572 B
Makefile

################################################################################
#
# libcutl
#
################################################################################
LIBCUTL_VERSION_MAJOR = 1.10
LIBCUTL_VERSION = $(LIBCUTL_VERSION_MAJOR).0
LIBCUTL_SOURCE = libcutl-$(LIBCUTL_VERSION).tar.bz2
LIBCUTL_SITE = https://www.codesynthesis.com/download/libcutl/$(LIBCUTL_VERSION_MAJOR)
LIBCUTL_INSTALL_STAGING = YES
LIBCUTL_LICENSE = MIT
LIBCUTL_LICENSE_FILES = LICENSE
HOST_LIBCUTL_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
$(eval $(host-autotools-package))