mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 19:03:28 +08:00
7e147e778f
Fix the following build failure with gcc >= 9 (and -std=c++17): ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications 70 | bool file_exists(const std::string& file) throw (error); | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
27 lines
873 B
Makefile
27 lines
873 B
Makefile
################################################################################
|
|
#
|
|
# cloop
|
|
#
|
|
################################################################################
|
|
|
|
CLOOP_VERSION = 3.14.1.3
|
|
CLOOP_SOURCE = cloop_$(CLOOP_VERSION).tar.xz
|
|
CLOOP_SITE = http://snapshot.debian.org/archive/debian/20200419T152225Z/pool/main/c/cloop
|
|
CLOOP_LICENSE = GPL-2.0 (module), GPL-2.0+ (advancecomp)
|
|
CLOOP_LICENSE_FILES = README advancecomp-1.15/COPYING
|
|
|
|
HOST_CLOOP_DEPENDENCIES = host-zlib
|
|
|
|
define HOST_CLOOP_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \
|
|
CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14"
|
|
endef
|
|
|
|
define HOST_CLOOP_INSTALL_CMDS
|
|
$(INSTALL) -m 0755 -d $(HOST_DIR)/bin
|
|
$(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/bin
|
|
$(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/bin
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|