diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 11:42:31 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 11:42:31 +0100 |
commit | 41b89cc1e42f5c7bd1ec9723c7236312e49947f6 (patch) | |
tree | c61d21575d08f18437193a8af6e9b25009238969 | |
parent | 19aa10dd3f7611f57673a6a3eaa8133dc8e91775 (diff) | |
download | serd-41b89cc1e42f5c7bd1ec9723c7236312e49947f6.tar.gz serd-41b89cc1e42f5c7bd1ec9723c7236312e49947f6.tar.bz2 serd-41b89cc1e42f5c7bd1ec9723c7236312e49947f6.zip |
Fix link errors with sanitizers at the source in autowaf
m--------- | waflib | 0 | ||||
-rw-r--r-- | wscript | 6 |
2 files changed, 0 insertions, 6 deletions
diff --git a/waflib b/waflib -Subproject 4b03300471e2a56d888c8f19cbc11ecb211e4cc +Subproject d19992202543ebb810609c074f754b5ec48c0fd @@ -102,12 +102,6 @@ def configure(conf): if 'mingw' in conf.env.CC[0]: conf.env.append_value('CFLAGS', '-Wno-unused-macros') - if ('clang' in conf.env.CC[0] and - '-Wl,--no-undefined' in conf.env.LINKFLAGS and ( - '-fsanitize=address' in conf.env.CFLAGS or - '-fsanitize=undefined' in conf.env.CFLAGS)): - conf.env.LINKFLAGS.remove('-Wl,--no-undefined') - conf.env.update({ 'BUILD_UTILS': not Options.options.no_utils, 'BUILD_SHARED': not Options.options.no_shared, |