From 9002c333c49e3271db86731f34bf716c03eb9e63a420e617d20f2985d489431e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 May 2019 09:09:16 +0000 Subject: [PATCH] Accepting request 706251 from openSUSE:Factory:Staging:N - Set _lto_cflags to nil as it will prevent to propage LTO for Python modules that are built in a separate package. - Set _lto_cflags to nil as it will prevent to propage LTO for Python modules that are built in a separate package. OBS-URL: https://build.opensuse.org/request/show/706251 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=244 --- python-base.changes | 6 ++++++ python-base.spec | 1 + python.changes | 6 ++++++ python.spec | 1 + 4 files changed, 14 insertions(+) diff --git a/python-base.changes b/python-base.changes index 5b9b961..3e7bc68 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 29 08:58:16 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as it will prevent to propage LTO + for Python modules that are built in a separate package. + ------------------------------------------------------------------- Thu May 2 08:40:33 CEST 2019 - Matej Cepl diff --git a/python-base.spec b/python-base.spec index 1bc5736..b8d43e2 100644 --- a/python-base.spec +++ b/python-base.spec @@ -201,6 +201,7 @@ sed -i 's/^version_required/dnl version_required/' configure.ac # COMMON-PREP-END %build +%define _lto_cflags %{nil} export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" autoreconf -f -i . # Modules/_ctypes/libffi diff --git a/python.changes b/python.changes index 0adc8ce..be80caf 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 29 08:58:16 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as it will prevent to propage LTO + for Python modules that are built in a separate package. + ------------------------------------------------------------------- Mon Oct 29 13:21:20 UTC 2018 - Vítězslav Čížek diff --git a/python.spec b/python.spec index 9ea530a..9c0198e 100644 --- a/python.spec +++ b/python.spec @@ -257,6 +257,7 @@ cp %{SOURCE8} Lib/ %endif %build +%define _lto_cflags %{nil} export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" autoreconf -f -i . # Modules/_ctypes/libffi