From ac770f674f87eff08549a8a5cd948b6b350152575b516016db3f240106db6961 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 20 Nov 2019 13:50:21 +0000 Subject: [PATCH] Accepting request 749836 from home:marxin:branches:Base:System - Disable strict aliasing due to its violation (boo#1157271). OBS-URL: https://build.opensuse.org/request/show/749836 OBS-URL: https://build.opensuse.org/package/show/Base:System/lzo?expand=0&rev=40 --- lzo.changes | 6 ++++++ lzo.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lzo.changes b/lzo.changes index 69fc956..040b604 100644 --- a/lzo.changes +++ b/lzo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 20 09:04:53 UTC 2019 - Martin Liška + +- Disable strict aliasing due to its violation + (boo#1157271). + ------------------------------------------------------------------- Fri Apr 26 11:29:00 UTC 2019 - Martin Liška diff --git a/lzo.spec b/lzo.spec index 7b27961..55ee370 100644 --- a/lzo.spec +++ b/lzo.spec @@ -1,7 +1,7 @@ # # spec file for package lzo # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -75,7 +75,7 @@ compression ratio. %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -export CFLAGS="%{optflags} -fvisibility=hidden" +export CFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing" %configure --enable-shared \ --enable-static \ --disable-silent-rules \