Accepting request 1171529 from home:bmwiedemann:branches:Archiving
Compile with C89 standard to build with gcc14 based on https://gitlab.com/fweimer-rh/fedora-modernc/-/blob/main/pkg/z/zip.md OBS-URL: https://build.opensuse.org/request/show/1171529 OBS-URL: https://build.opensuse.org/package/show/Archiving/zip?expand=0&rev=26
This commit is contained in:
parent
0234606544
commit
ba653bbeb3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 07:11:27 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Compile with C89 standard to build with gcc14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 12:09:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
2
zip.spec
2
zip.spec
@ -62,7 +62,7 @@ PKZIP(tm) 2.04g (Phil Katz ZIP) for MS-DOS systems.
|
||||
|
||||
%build
|
||||
# Remove FORTIFY_SOURCE=3 for bsc#1200712
|
||||
EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
|
||||
EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -std=gnu89"
|
||||
make %{?_smp_mflags} -f unix/Makefile prefix=/usr CC="gcc $EXTRA_CFLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user