summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2023-06-20 18:24:47 -0400
committerMatt Turner <mattst88@gmail.com>2023-06-21 17:29:58 -0400
commit46b2b414744cd5021a5b3dcd771ee61d705e67ae (patch)
treed7aafcb0e5dfc931aa530a91d7a24237c09a6e6f
parent0d85277c98be7fe0c510b217a139cef2ff016704 (diff)
mesa-run: Make extra_args an array
-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[@]}"