From 41b89cc1e42f5c7bd1ec9723c7236312e49947f6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Nov 2020 11:42:31 +0100 Subject: Fix link errors with sanitizers at the source in autowaf --- waflib | 2 +- wscript | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/waflib b/waflib index 4b033004..d1999220 160000 --- a/waflib +++ b/waflib @@ -1 +1 @@ -Subproject commit 4b03300471e2a56d888c8f19cbc11ecb211e4cc7 +Subproject commit d19992202543ebb810609c074f754b5ec48c0fd7 diff --git a/wscript b/wscript index effe4251..e7aed89b 100644 --- a/wscript +++ b/wscript @@ -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, -- cgit v1.2.1