Old versions of abseil-cpp could not be compiled using C++ Standard 17.
For now this cmake flag is not needed.
Mosh compilation fixed by specifying c++17 standard.

Signed-off-by: Petr Chernikov <[email protected]>

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 f847ebf15..4705b6f8c 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
@@ -26,7 +26,6 @@ inherit cmake
 
 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
                  -DBUILD_TESTING=OFF    \
-                 -DCMAKE_CXX_STANDARD=14 \
                  -DABSL_ENABLE_INSTALL=ON \
                 "
 
diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb 
b/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
index 0ee050da9..693ec12d3 100644
--- a/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
+++ b/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
@@ -46,3 +46,5 @@ RDEPENDS:${PN}-server += "openssh-sshd"
 #| {standard input}:2103: Error: instruction not supported in Thumb16 mode -- 
`adcs r7,r7,r7'
 #| {standard input}:2104: Error: selected processor does not support Thumb 
mode `it cs'
 ARM_INSTRUCTION_SET = "arm"
+
+CXXFLAGS:append = " -std=c++17"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107302): 
https://lists.openembedded.org/g/openembedded-devel/message/107302
Mute This Topic: https://lists.openembedded.org/mt/102970930/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to