diff --git a/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb index 4558aa13d6..7f6755d51e 100644 --- a/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb +++ b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb @@ -7,13 +7,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://github.com/google/benchmark.git;protocol=https;branch=main;tag=v${PV}" SRCREV = "eddb0241389718a23a42db6af5f0164b6e0139af" - EXTRA_OECMAKE = " \ -DBUILD_SHARED_LIBS=yes \ -DBENCHMARK_ENABLE_TESTING=no \ -DCMAKE_BUILD_TYPE=Release \ " +# Needed with glibc 2.43 which also defines __COUNTER__ now +CXXFLAGS += "-Wno-c2y-extensions" + inherit cmake FILES:${PN}-dev += "${libdir}/cmake"