]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
os-zoo.yml: Disable stringop-overflow warning on alpine edge
authorTomas Mraz <tomas@openssl.org>
Thu, 3 Oct 2024 07:24:05 +0000 (09:24 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 3 Oct 2024 11:12:40 +0000 (13:12 +0200)
fortify-headers are broken due to this warning.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25599)

.github/workflows/os-zoo.yml

index 884c08599dfaa93e93e8df6424863d73e2dc23af..222ac52ab819cd513b6ae7f0d7a74b1ab0cb978d 100644 (file)
@@ -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