From c3b873dd443eaf59e64cbe3d06e5fe096a65515a Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 1 Aug 2021 10:09:28 +0200 Subject: [PATCH] package/ibrdtnd: fix build with gcc 11 Fixes: - No autobuilder failures yet Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/ibrdtnd/ibrdtnd.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/ibrdtnd/ibrdtnd.mk b/package/ibrdtnd/ibrdtnd.mk index 0632ed36b7..20ac496fee 100644 --- a/package/ibrdtnd/ibrdtnd.mk +++ b/package/ibrdtnd/ibrdtnd.mk @@ -18,7 +18,9 @@ IBRDTND_CONF_OPTS = \ --without-vmime # don't build documentation -IBRDTND_CONF_ENV = PDFLATEX='no' +IBRDTND_CONF_ENV = \ + PDFLATEX='no' \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" ifeq ($(BR2_PACKAGE_LIBDAEMON),y) IBRDTND_CONF_OPTS += --enable-libdaemon -- 2.30.2