add "-Wno-error=implicit-function-declaration" and "-Wno-error=incompatible-pointer-types" to CFLAGS to prevent gcc14 build errors
This commit is contained in:
parent
ae4189f661
commit
1164c0d295
@ -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>
|
||||
|
||||
|
3
wv.spec
3
wv.spec
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user