[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    [Buildroot] [PATCH] package/tbb: always build Release
From:       "Arnout Vandecappelle (Essensium/Mind)" <arnout () mind ! be>
Date:       2022-04-30 18:57:01
Message-ID: 20220430185701.606071-1-arnout () mind ! be
[Download RAW message or body]

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@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

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic