MSYS2-packages/msys2-runtime-3.3/0053-CI-fix-the-build-with-gcc-13.patch
Johannes Schindelin fb60d28277 msys2-runtime-3.3: backport a couple 3.4 patches
This corresponds to https://github.com/msys2/msys2-runtime/pull/197.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-02-11 23:13:27 +01:00

26 lines
1.0 KiB
Diff

From 99b8001f7d6456cddd4db254016321e4e9449353 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Fri, 10 Nov 2023 15:31:10 +0100
Subject: [PATCH 53/N] CI: fix the build with gcc 13
---
.github/workflows/build.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1775bb9..f89cfcb 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -20,6 +20,11 @@ jobs:
- name: Build
shell: msys2 {0}
run: |
+ # XXX: cygwin still uses gcc v11 so we get new warnings with v13,
+ # resulting in errors. We can't selectively disable warnigns since our
+ # cross compiler is also too old and doesn't understand the new
+ # warning flags, so we need to disable all errors for now.
+ export CXXFLAGS="-Wno-error -Wno-narrowing"
(cd winsup && ./autogen.sh)
./configure --disable-dependency-tracking
make -j8