diff --git a/.github/scripts/DragonFlyBSD/run-xserver-build.sh b/.github/scripts/DragonFlyBSD/run-xserver-build.sh index ab9815912f..6cbb8dfa0b 100755 --- a/.github/scripts/DragonFlyBSD/run-xserver-build.sh +++ b/.github/scripts/DragonFlyBSD/run-xserver-build.sh @@ -7,6 +7,8 @@ set -e echo "--> running xserver build ...." export MESON_BUILDDIR=_build +CFLAGS="$CFLAGS -Wno-typedef-redefinition" + rm -rf "$MESON_BUILDDIR" meson setup "$MESON_BUILDDIR" $MESON_ARGS meson configure "$MESON_BUILDDIR" diff --git a/.github/scripts/freebsd/run-xserver-build.sh b/.github/scripts/freebsd/run-xserver-build.sh index 363432306d..34c74aeea1 100755 --- a/.github/scripts/freebsd/run-xserver-build.sh +++ b/.github/scripts/freebsd/run-xserver-build.sh @@ -7,6 +7,8 @@ set -e echo "--> running xserver build ...." export MESON_BUILDDIR=_build +CFLAGS="$CFLAGS -Wno-typedef-redefinition" + rm -rf "$MESON_BUILDDIR" meson setup "$MESON_BUILDDIR" $MESON_ARGS meson configure "$MESON_BUILDDIR"