[Buildroot] [PATCH] package/tbb: always build Release
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sat Apr 30 18:57:01 UTC 2022
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) <arnout at mind.be>
---
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
--
2.35.1
More information about the buildroot
mailing list