]> granicus.if.org Git - php/commitdiff
Remove superfluous compiler option
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 31 Dec 2019 10:50:24 +0000 (11:50 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 31 Dec 2019 11:00:10 +0000 (12:00 +0100)
`-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.

win32/build/confutils.js

index 83d5907a4f0239224bba01fc9723789f071cf7df..c95ea1f3e677abcced0531da89ab2a2b6762ae32 100644 (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) {