Accepting request 764403 from home:gladiac:branches:graphics

- Disable LTO as it removes required symbols
  * https://discuss.pixls.us/t/gmic-lookup-symbol-err-on-opensuse-darktable-master-build/15827

OBS-URL: https://build.opensuse.org/request/show/764403
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=35
This commit is contained in:
Christophe Giboudeaux 2020-01-14 18:06:38 +00:00 committed by Git OBS Bridge
parent dce9357759
commit 6223b9a5b8
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 14 17:54:46 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
- Disable LTO as it removes required symbols
* https://discuss.pixls.us/t/gmic-lookup-symbol-err-on-opensuse-darktable-master-build/15827
-------------------------------------------------------------------
Wed Dec 25 08:22:52 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package gmic
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,15 @@
#
# Disable LTO as it removes important symbols
#
# g++ use_libgmic.cpp -o use_gmic -L/tmp/local/gmic/lib64 -lgmic
# use_libgmic.cpp:function main: error: undefined reference to 'cimg_library::CImgList<float>::assign(unsigned int)'
#
# https://discuss.pixls.us/t/gmic-lookup-symbol-err-on-opensuse-darktable-master-build/15827
#
%define _lto_cflags %{nil}
%global _gimpplugindir %(gimptool-2.0 --gimpplugindir)/plug-ins
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
%bcond_without digikam_plugin