diff options
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConscript b/SConscript index b5ef6db067..da7683ed6c 100644 --- a/SConscript +++ b/SConscript @@ -534,7 +534,8 @@ arm_compute_env.Append(CPPDEFINES = [('ARM_COMPUTE_VERSION_MAJOR', LIBRARY_VERSI # Don't allow undefined references in the libraries: undefined_flag = '-Wl,-undefined,error' if 'macos' in arm_compute_env["os"] else '-Wl,--no-undefined' -arm_compute_env.Append(LINKFLAGS=[undefined_flag]) +if not env['thread_sanitizer']: + arm_compute_env.Append(LINKFLAGS=[undefined_flag]) arm_compute_env.Append(CPPPATH =[Dir("./src/core/").path] ) if env['os'] != 'openbsd': |