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
This commit is contained in:
Richard Biener 2019-11-20 13:50:21 +00:00 committed by Git OBS Bridge
parent 8a27e75853
commit ac770f674f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 20 09:04:53 UTC 2019 - Martin Liška <mliska@suse.cz>
- Disable strict aliasing due to its violation
(boo#1157271).
-------------------------------------------------------------------
Fri Apr 26 11:29:00 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -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 \