[Buildroot] [git commit branch/2021.02.x] package/ibrdtnd: fix build with gcc 11
Peter Korsgaard
peter at korsgaard.com
Sat Aug 7 17:56:06 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=c2dcece2ed849d5cbbda0de070ea0bcda8815402
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x
Fixes:
- No autobuilder failures yet
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit c3b873dd443eaf59e64cbe3d06e5fe096a65515a)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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
More information about the buildroot
mailing list