package/ibrdtnd: fix build with gcc 11

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c3b873dd44)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-08-01 10:09:28 +02:00 committed by Peter Korsgaard
parent c3a88fd434
commit bde89f9a0f

View File

@ -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