diff options
| -rw-r--r-- | mesonbuild/interpreter/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index adb99b827..b736aea41 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -2924,7 +2924,7 @@ class Interpreter(InterpreterBase, HoldableObject): mlog.warning(f'Consider using the built-in debug option instead of using "{arg}".', location=self.current_node) # Don't catch things like `-fsanitize-recover` - elif arg == '-fsanitize' or arg.startswith('-fsanitize='): + elif arg in {'-fsanitize', '/fsanitize'} or arg.startswith(('-fsanitize=', '/fsanitize=')): mlog.warning(f'Consider using the built-in option for sanitizers instead of using "{arg}".', location=self.current_node) elif arg.startswith('-std=') or arg.startswith('/std:'): |
