mirror of
https://github.com/rui314/mold.git
synced 2024-10-05 00:57:08 +03:00
Merge pull request #296 from sicherha/pass-cxxflags-to-tbb
Pass `CXXFLAGS` to bundled tbb
This commit is contained in:
commit
79f83561bd
2
Makefile
2
Makefile
@ -147,7 +147,7 @@ $(MIMALLOC_LIB):
|
||||
|
||||
$(TBB_LIB):
|
||||
mkdir -p out/tbb
|
||||
(cd out/tbb; cmake -G'Unix Makefiles' -DBUILD_SHARED_LIBS=OFF -DTBB_TEST=OFF -DCMAKE_CXX_FLAGS=-D__TBB_DYNAMIC_LOAD_ENABLED=0 -DTBB_STRICT=OFF ../../third-party/tbb)
|
||||
(cd out/tbb; cmake -G'Unix Makefiles' -DBUILD_SHARED_LIBS=OFF -DTBB_TEST=OFF -DCMAKE_CXX_FLAGS="$(CXXFLAGS) -D__TBB_DYNAMIC_LOAD_ENABLED=0" -DTBB_STRICT=OFF ../../third-party/tbb)
|
||||
$(MAKE) -C out/tbb tbb
|
||||
(cd out/tbb; ln -sf *_relwithdebinfo libs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user