SHA256
6
0
forked from pool/wv

add "-Wno-error=implicit-function-declaration" and "-Wno-error=incompatible-pointer-types" to CFLAGS to prevent gcc14 build errors

This commit is contained in:
Friedrich Haubensak 2024-11-14 15:19:54 +01:00 committed by Jan Engelhardt
parent ae4189f661
commit 1164c0d295
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 14 15:16:03 UTC 2024 - Friedrich Haubensak <hsk17@mail.de>
- add "-Wno-error=implicit-function-declaration" and
"-Wno-error=incompatible-pointer-types" to CFLAGS to prevent
gcc14 build errors
-------------------------------------------------------------------
Tue Feb 20 15:12:30 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -79,7 +79,8 @@ Header files for wv.
%build
autoreconf -f -i --verbose
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat -Wformat-security
CFLAGS="%{optflags} %{warn_flags} -fno-strict-aliasing -fstack-protector" \
CFLAGS="%{optflags} %{warn_flags} -fno-strict-aliasing -fstack-protector \
-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" \
%configure \
--with-libwmf \
--with-expat \