From: Tomas Mraz Date: Thu, 3 Oct 2024 07:24:05 +0000 (+0200) Subject: os-zoo.yml: Disable stringop-overflow warning on alpine edge X-Git-Tag: openssl-3.5.0-alpha1~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d1bb6dff0f0126ef1a5cac7b8693308763eb8a;p=thirdparty%2Fopenssl.git os-zoo.yml: Disable stringop-overflow warning on alpine edge fortify-headers are broken due to this warning. Reviewed-by: Neil Horman Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/25599) --- diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml index 884c08599df..222ac52ab81 100644 --- a/.github/workflows/os-zoo.yml +++ b/.github/workflows/os-zoo.yml @@ -26,8 +26,11 @@ jobs: container: image: docker.io/library/alpine:${{ matrix.tag }} env: - # https://www.openwall.com/lists/musl/2022/02/16/14 - EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare' || '' }} + # See https://www.openwall.com/lists/musl/2022/02/16/14 + # for the reason why -Wno-sign-compare is needed with clang + # -Wno-stringop-overflow is needed to silence a bogus + # warning on new fortify-headers with gcc + EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare' || matrix.tag == 'edge' && '-Wno-stringop-overflow' || '' }} CC: ${{ matrix.cc }} steps: - name: install packages