summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmesa-debug-asan2
-rwxr-xr-xmesa-run2
2 files changed, 2 insertions, 2 deletions
diff --git a/mesa-debug-asan b/mesa-debug-asan
index 366dba9..3ff7dce 100755
--- a/mesa-debug-asan
+++ b/mesa-debug-asan
@@ -4,6 +4,6 @@ export cflags="-ggdb3 -O0 -march=native -pipe"
export cxxflags="${cflags}"
export buildtype=debug
export builddir=~/projects/mesa/build-debug-asan
-export extra_args=-Db_sanitize=address,undefined
+export extra_args=(-Db_sanitize="address,undefined")
exec mesa-run "$@"
diff --git a/mesa-run b/mesa-run
index eb6f730..f728f3c 100755
--- a/mesa-run
+++ b/mesa-run
@@ -48,7 +48,7 @@ configure)
-Dgallium-xa=disabled
-Dbuildtype="${buildtype}"
-Dbackend=ninja
- "${extra_args}"
+ "${extra_args[@]}"
"${builddir}"
)
exec meson setup --reconfigure "${args[@]}"