Accepting request 755519 from games
OBS-URL: https://build.opensuse.org/request/show/755519 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scummvm?expand=0&rev=18
This commit is contained in:
commit
82ba59a279
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 15:01:25 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Undefine _lto_cflags before building scummvm. The lto flags are
|
||||||
|
incompatible with -gsplit-dwarf which scummvm relies on.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 12 12:38:37 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
Sat Oct 12 12:38:37 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package scummvm
|
# spec file for package scummvm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -84,6 +84,9 @@ These engines are in a worse state, but allow to play extra games.
|
|||||||
sed -i '/tmp_endianness_check.cpp/ s/$CXXFLAGS/$CXXFLAGS -fno-lto -O0/' configure
|
sed -i '/tmp_endianness_check.cpp/ s/$CXXFLAGS/$CXXFLAGS -fno-lto -O0/' configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# scummvm relies on -gsplit-dwarf which is incompatible with -flto
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
# No rpm configure because scummvm's configure isn't a real configure and thus
|
# No rpm configure because scummvm's configure isn't a real configure and thus
|
||||||
# doesn't understand some of the options %%configure passes.
|
# doesn't understand some of the options %%configure passes.
|
||||||
CXXFLAGS="%{optflags}" ; export CXXFLAGS ; \
|
CXXFLAGS="%{optflags}" ; export CXXFLAGS ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user