From acfa6380e0a4b2c7306676297501731f33adb0eafa4d30db7db9eae341cbaeb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 2 Feb 2018 13:16:04 +0000 Subject: [PATCH] - Disable strict aliasing as reported by the rpm checks OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=36 --- python-pycurl.changes | 5 +++++ python-pycurl.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pycurl.changes b/python-pycurl.changes index 316dcf2..d22cd0e 100644 --- a/python-pycurl.changes +++ b/python-pycurl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 2 13:00:02 UTC 2018 - tchvatal@suse.com + +- Disable strict aliasing as reported by the rpm checks + ------------------------------------------------------------------- Tue Jan 30 16:01:27 UTC 2018 - vcizek@suse.com diff --git a/python-pycurl.spec b/python-pycurl.spec index 2fd23b0..565b58b 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -66,7 +66,7 @@ This package contains documentation and examples. %patch1 -p1 %build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build --with-ssl %install