diff options
-rwxr-xr-x | mesa-debug-asan | 2 | ||||
-rwxr-xr-x | mesa-run | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mesa-debug-asan b/mesa-debug-asan index d38921a..cfd7928 100755 --- a/mesa-debug-asan +++ b/mesa-debug-asan @@ -4,7 +4,7 @@ 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:-Db_lundef=false" export GCC_ASAN_PRELOAD=$(gcc -print-file-name=libasan.so) export CLANG_ASAN_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) @@ -8,6 +8,8 @@ die() { [[ -z ${builddir} ]] && die "builddir must be set" prefix="${builddir}"/install +IFS=: read -r -a extra_args <<< "${extra_args}" + machine=$(uname -m) case "$machine" in x86_64) |