From: Fabrice Fontaine Date: Sun, 1 Aug 2021 08:13:44 +0000 (+0200) Subject: package/ibrdtn-tools: fix build with gcc 11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=278072520c76bae03916cdcd2f5d3324f4626c5f;p=buildroot.git package/ibrdtn-tools: fix build with gcc 11 Fixes: - No autobuilder failures yet Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/ibrdtn-tools/ibrdtn-tools.mk b/package/ibrdtn-tools/ibrdtn-tools.mk index 97ec3c9e17..77dbfc1032 100644 --- a/package/ibrdtn-tools/ibrdtn-tools.mk +++ b/package/ibrdtn-tools/ibrdtn-tools.mk @@ -9,6 +9,7 @@ IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases IBRDTN_TOOLS_LICENSE = Apache-2.0 IBRDTN_TOOLS_LICENSE_FILES = COPYING IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf +IBRDTN_TOOLS_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" ifeq ($(BR2_STATIC_LIBS),y) IBRDTN_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"