[Buildroot] [git commit branch/2021.05.x] package/libodb-boost: fix build with gcc 11

Peter Korsgaard peter at korsgaard.com
Sun Aug 8 09:31:05 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=9f4a31eda47d6feaea1048d6cd80b17003612aef
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.05.x

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit 25d602a6a66bfecf17da0ca5edf589ace95e58db)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libodb-boost/libodb-boost.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libodb-boost/libodb-boost.mk b/package/libodb-boost/libodb-boost.mk
index 679c9d7a38..bac5f1e78f 100644
--- a/package/libodb-boost/libodb-boost.mk
+++ b/package/libodb-boost/libodb-boost.mk
@@ -12,5 +12,6 @@ LIBODB_BOOST_INSTALL_STAGING = YES
 LIBODB_BOOST_LICENSE = GPL-2.0
 LIBODB_BOOST_LICENSE_FILES = LICENSE
 LIBODB_BOOST_DEPENDENCIES = boost libodb
+LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
 
 $(eval $(autotools-package))


More information about the buildroot mailing list