Skip to contentSkip to conversation

abseil-cpp: Ask for C++14 std explicitly

PATCH New Khem Raj 1 participant 1 message Mar 4, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 abseil-cpp: Ask for C++14 std explicitly

Newer gcc ( gcc11 ) will be defaulting to c++17 and abseil currently needs work to get working with c++17, so pin to c++14 untill upstream gets it working with c++17

---
 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb +1 -0
index 38c3dbc510..9557c9345e 100644
@@ -24,6 +24,7 @@ inherit cmake
 
 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
                  -DBUILD_TESTING=OFF    \
+                 -DCMAKE_CXX_STANDARD=14 \
                 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.1