mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-18998 Fix a build failure when building TSan support without a symbolizer
Previously, the build would fail with an UnboundLocalError when appending to tsan_options.
This commit is contained in:
parent
6bf2bfe665
commit
dd72c45ad1
@ -1817,6 +1817,7 @@ def doConfigure(myenv):
|
||||
else:
|
||||
llvm_symbolizer = myenv.WhereIs(llvm_symbolizer)
|
||||
|
||||
tsan_options = ""
|
||||
if llvm_symbolizer:
|
||||
myenv['ENV']['ASAN_SYMBOLIZER_PATH'] = llvm_symbolizer
|
||||
myenv['ENV']['LSAN_SYMBOLIZER_PATH'] = llvm_symbolizer
|
||||
|
Loading…
Reference in New Issue
Block a user