From 64e6b44558f1062d1fd4cbb0d7d681db07a2c118 Mon Sep 17 00:00:00 2001 From: tro Date: Mon, 8 Jan 2024 16:25:16 +0100 Subject: [PATCH] abseil-cpp: force use of -std=c++14 Protobuf is compiled with -std=c++14, so abseil must be as well. Details can be found here: https://github.com/protocolbuffers/protobuf/issues/10768 --- meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb index ee62d4b597b..61b7630ca4f 100644 --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb @@ -25,6 +25,8 @@ ASNEEDED:class-nativesdk = "" inherit cmake +CXXFLAGS += "-std=c++14" + EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \ -DBUILD_TESTING=OFF \ -DABSL_ENABLE_INSTALL=ON \