Accepting request 1197126 from Java:packages

fix build with gcc 14

OBS-URL: https://build.opensuse.org/request/show/1197126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rxtx-java?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2024-08-29 13:43:28 +00:00 committed by Git OBS Bridge
commit 46b833272a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 28 17:38:13 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Disable -Wimplicit-function-declaration
* fixes build with gcc 14 on architectures where glibc does not
distribute sys/io.h
-------------------------------------------------------------------
Thu Mar 7 14:29:29 UTC 2024 - Frank Schütte <F.Schuette@t-online.de>

View File

@ -103,7 +103,7 @@ the specification for Sun's Java Communications API.
export THREADS_FLAG=native
rm acinclude.m4 config.guess config.sub install-sh ltmain.sh missing mkinstalldirs aclocal.m4 Makefile.in ltconfig stamp-h.in
./autogen.sh
CFLAGS="%{optflags}" LDFLAGS=-s \
CFLAGS="%{optflags} -Wno-implicit-function-declaration" LDFLAGS=-s \
%configure
%make_build