1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-21 18:08:01 +03:00

[oneTBB] build only required target(s)

The 'all' target builds tbbmalloc and tbbmalloc_proxy
which mold does not care about.

Signed-off-by: Nehal J Wani <nehaljw.kkd1@gmail.com>
This commit is contained in:
Nehal J Wani 2021-07-02 12:36:46 -04:00
parent 2f681babf5
commit 9c541ad461
No known key found for this signature in database
GPG Key ID: 87F40C1A586E6978

View File

@ -78,7 +78,7 @@ $(MIMALLOC_LIB):
$(TBB_LIB):
mkdir -p oneTBB/out
(cd oneTBB/out; cmake -DBUILD_SHARED_LIBS=OFF -DTBB_TEST=OFF -DCMAKE_CXX_FLAGS=-D__TBB_DYNAMIC_LOAD_ENABLED=0 ..)
$(MAKE) -C oneTBB/out
$(MAKE) -C oneTBB/out tbb
(cd oneTBB/out; ln -sf *_relwithdebinfo libs)
test tests check: all