Remove superfluous compiler option

`-fsanitize-address-use-after-scope` is the default as of clang 5.0.0,
and we don't allow to enable ASan for older versions anyway.
This commit is contained in:
Christoph M. Becker 2019-12-31 11:50:24 +01:00
parent 22e9f9fe4d
commit 4f0e5c8dd9

View File

@ -3702,7 +3702,6 @@ function add_asan_opts(cflags_name, libs_name, ldflags_name)
if (!!cflags_name) {
ADD_FLAG(cflags_name, "-fsanitize=address");
ADD_FLAG(cflags_name, "-fsanitize-address-use-after-scope");
}
if (!!libs_name) {
if (X64) {