From 059f78b517973a91aa7b1788f2aa8a7628b5507d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 29 Oct 2024 07:29:26 +0100 Subject: [PATCH] ci/msys2: enable sanitizers for clang build --- ci/build-msys2.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/build-msys2.sh b/ci/build-msys2.sh index cdfa8877dd..6e0cb3304c 100755 --- a/ci/build-msys2.sh +++ b/ci/build-msys2.sh @@ -11,6 +11,10 @@ args=( -D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband,win32-smtc}=enabled ) +[[ "$SYS" == "clang64" ]] && args+=( + -Db_sanitize=address,undefined +) + meson setup build $common_args "${args[@]}" meson compile -C build ./build/mpv.com -v --no-config