Skip to contentSkip to conversation

tbb: pass TBB_STRICT=OFF to disable -Werror

PATCH New Anuj Mittal 1 participant 1 message Jun 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tbb: pass TBB_STRICT=OFF to disable -Werror

Don't treat compiler warnings as errors to avoid failures when compiling with newer versions.

---
 meta-oe/recipes-support/tbb/tbb_2021.11.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/tbb/tbb_2021.11.0.bb +1 -0
index f834726bd..0f9f02655 100644
@@ -25,6 +25,7 @@ inherit cmake pkgconfig
 EXTRA_OECMAKE += " \
                     -DTBB_TEST=OFF \
                     -DCMAKE_BUILD_TYPE=Release \
+                    -DTBB_STRICT=OFF \
                 "
 
 # Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)