From 3a9e3668f11b32483acecc122dc852e6097b64f0 Mon Sep 17 00:00:00 2001 From: correctmost <126085-correctmost@users.noreply.gitlab.freedesktop.org> Date: Mon, 31 Mar 2025 04:33:06 -0400 Subject: [PATCH] build-sys: Fix build error when sanitizers are enabled Re-running 'meson setup' with sanitizer flags caused the following error: 'ERROR: Unknown options: "b_lundef, b_sanitize"' This is a workaround for an upstream Meson issue: https://github.com/mesonbuild/meson/issues/13651 Signed-off-by: correctmost <126085-correctmost@users.noreply.gitlab.freedesktop.org> Signed-off-by: Frediano Ziglio --- .gitlab-ci.yml | 1 + meson.build | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 654a1aa..dd99896 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ variables: meson ninja-build gtk-doc glib2-devel gettext gettext-devel bzip2 rpmlint rpm-build mingw32-filesystem mingw64-filesystem + mingw32-gcc mingw64-gcc before_script: - dnf install -y $DEPS_COMMON diff --git a/meson.build b/meson.build index 8915170..eac692e 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,7 @@ # project definition # project('spice-protocol', + 'c', version : '0.14.5', license : 'BSD', meson_version : '>= 0.41.0')