Skip to contentSkip to conversation

package/libodb-boost: fix build with gcc 11

PATCH In review Fabrice Fontaine 3 participants 3 messages Aug 3, 2021 – Aug 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libodb-boost: fix build with gcc 11

Fixes:
- No autobuilder failures yet

---
 package/libodb-boost/libodb-boost.mk | 1 +
 1 file changed, 1 insertion(+)
package/libodb-boost/libodb-boost.mk +1 -0
index 679c9d7a38..bac5f1e78f 100644
@@ -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))
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Fabrice Fontaine

Fixes:
- No autobuilder failures yet

I accidentally applied this to master after all :-) Oh well, it'll probably be OK.

Regards,
Arnout

Quoted 10 lines
---
 package/libodb-boost/libodb-boost.mk | 1 +
 1 file changed, 1 insertion(+)
package/libodb-boost/libodb-boost.mk +0 -0
index 679c9d7a38..bac5f1e78f 100644

package/libodb-boost/libodb-boost.mk LIBODB_BOOST_INSTALL_STAGING = YES · line 17

Quoted 6 lines
package/libodb-boost/libodb-boost.mk +1 -0
@@ -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))

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fixes:
- No autobuilder failures yet

Committed to 2021.02.x and 2021.05.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot