SHA256
1
0
forked from pool/python

Accepting request 1155418 from home:dgarcia:branches:openSUSE:Factory:Rings:1-MinimalX

- Build with -std=gnu89 to build correctly with gcc14, bsc#1220970

OBS-URL: https://build.opensuse.org/request/show/1155418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=398
This commit is contained in:
Matej Cepl 2024-03-06 06:48:36 +00:00 committed by Git OBS Bridge
parent 515bbd01ae
commit a81a414e00
5 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 17:43:19 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Build with -std=gnu89 to build correctly with gcc14, bsc#1220970
-------------------------------------------------------------------
Mon Jan 8 10:00:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -347,7 +347,8 @@ sed -i -e 's/python2_package_prefix python2/python2_package_prefix python/' macr
%build
%define _lto_cflags %{nil}
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
# -std=gnu89 option is needed to build with gcc14, bsc#1220970
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv -std=gnu89"
autoreconf -f -i . # Modules/_ctypes/libffi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 17:43:19 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Build with -std=gnu89 to build correctly with gcc14, bsc#1220970
-------------------------------------------------------------------
Mon Jan 8 10:00:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 17:43:19 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Build with -std=gnu89 to build correctly with gcc14, bsc#1220970
-------------------------------------------------------------------
Mon Jan 8 10:00:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -389,7 +389,8 @@ cp %{SOURCE8} Lib/
%build
%define _lto_cflags %{nil}
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
# -std=gnu89 option is needed to build with gcc14, bsc#1220970
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv -std=gnu89"
autoreconf -f -i . # Modules/_ctypes/libffi
# prevent make from trying to rebuild asdl stuff, which requires existing