From 293f5ec2e5b1d455df9da136a5892b52d30f5740 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 8 Sep 2024 16:47:21 -0500 Subject: [PATCH] Suppress initializer-overrides for MacOS build --- .github/workflows/c-cpp.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 797a446a6..6741060f4 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -30,6 +30,11 @@ jobs: brew install grep - name: bootstrap run: ./bootstrap + - name: Suppress -Winitializer-overrides on macOS + if: runner.os == 'macOS' + run: | + export CFLAGS="$CFLAGS -Wno-initializer-overrides" + export CXXFLAGS="$CXXFLAGS -Wno-initializer-overrides" - name: README Debug run: grep README Makefile.am - name: configure