From bc6eb862be6d9704376dc5951c521fe01e5c698c Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Sat, 30 Apr 2022 20:57:01 +0200 Subject: [PATCH] package/tbb: always build Release When tbb is built in Debug mode, it installs libtbb_debug.so instead of libtbb.so. This confuses downstream packages that want to link with it (e.g. sysdig). Always build in Release mode. This means that BR2_ENABLE_RUNTIME_DEBUG has no effect for this package, but that shouldn't be a bi issue. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Yann E. MORIN --- package/tbb/tbb.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index afe756a85a..fc720fd2f5 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -13,6 +13,7 @@ TBB_CPE_ID_VENDOR = intel TBB_CPE_ID_PRODUCT = threading_building_blocks TBB_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ -DTBB_STRICT=OFF \ -DTBB_TEST=OFF