summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-24 17:29:55 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit14bfd498c63b66c6ebab60b744a56ed26b892c6c (patch)
treeca0c7b0fc7bc02ea520fa86cc16ec374dc9bf208 /tools
parentc21d47836cd73def920183633e326e337eee57b4 (diff)
downloaddbus-14bfd498c63b66c6ebab60b744a56ed26b892c6c.tar.gz
CI: Explicitly disable features that can't work on Windows
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci-build.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh
index 440fe709..313f3535 100755
--- a/tools/ci-build.sh
+++ b/tools/ci-build.sh
@@ -455,6 +455,19 @@ case "$ci_buildsys" in
case "$ci_host" in
(*-w64-mingw32)
cross_file="${srcdir}/maint/${ci_host}.txt"
+ # openSUSE's wrappers are designed for building predictable
+ # RPM packages, so they set --auto-features=enabled -
+ # but that includes some things that make no sense on
+ # Windows.
+ set -- -Dapparmor=disabled "$@"
+ set -- -Depoll=disabled "$@"
+ set -- -Dinotify=disabled "$@"
+ set -- -Dkqueue=disabled "$@"
+ set -- -Dlaunchd=disabled "$@"
+ set -- -Dlibaudit=disabled "$@"
+ set -- -Dselinux=disabled "$@"
+ set -- -Dsystemd=disabled "$@"
+ set -- -Dx11_autolaunch=disabled "$@"
;;
esac