Browse Source

Fix link errors with sanitizers at the source in autowaf

zrythm_meson
David Robillard 2 years ago
parent
commit
41b89cc1e4
  1. 2
      waflib
  2. 6
      wscript

2
waflib

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 4b03300471e2a56d888c8f19cbc11ecb211e4cc7
Subproject commit d19992202543ebb810609c074f754b5ec48c0fd7

6
wscript

@ -102,12 +102,6 @@ def configure(conf): @@ -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,

Loading…
Cancel
Save