From 2fbdaa143df17cd36c1d70973d23645f60d6439bbf02bd8a6fed6b6890ebfd2d Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Tue, 14 Jun 2016 10:10:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=9 --- krita.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/krita.spec b/krita.spec index 09ab069..07332ff 100644 --- a/krita.spec +++ b/krita.spec @@ -102,7 +102,8 @@ Krita is the image manipulation application of the Calligra Suite. %setup -q -n krita-%{version} %build -%cmake_kf5 -d build -- -DCMAKE_LD_FLAGS(:STRING)=""-Wl,-z -Wl,defs -avoid-version"" +export LDFLAGS="%optflags -avoid-version" +%cmake_kf5 -d build %make_jobs %install