From ccb1e310aeef712de41a2d6418182d2ce78cfa20c3d871654cd0a62c530f6c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 18 Jan 2014 18:13:11 +0000 Subject: [PATCH] Accepting request 214353 from home:elvigia:branches:LibreOffice:Factory - build with -fvisibility-inlines-hidden, saving around 300 entries in the exported symbol table. - build with --disable-werror, there are no warnings but werror during deployment is undesirable. OBS-URL: https://build.opensuse.org/request/show/214353 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libcdr?expand=0&rev=22 --- libcdr.changes | 8 ++++++++ libcdr.spec | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libcdr.changes b/libcdr.changes index 732b7df..3ad555d 100644 --- a/libcdr.changes +++ b/libcdr.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jan 18 15:31:13 UTC 2014 - crrodriguez@opensuse.org + +- build with -fvisibility-inlines-hidden, saving around 300 + entries in the exported symbol table. +- build with --disable-werror, there are no warnings but werror + during deployment is undesirable. + ------------------------------------------------------------------- Fri Nov 1 09:09:17 UTC 2013 - tchvatal@suse.com diff --git a/libcdr.spec b/libcdr.spec index 3f81f03..89d5c2b 100644 --- a/libcdr.spec +++ b/libcdr.spec @@ -1,7 +1,7 @@ # # spec file for package libcdr # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -87,7 +87,8 @@ Tools to work with documents in Corel Draw file-format. %patch0 -p1 -b .wpx_seek_end %build -%configure --disable-static --docdir=%_docdir/%name +export CXXFLAGS="%optflags -fvisibility-inlines-hidden" +%configure --disable-werror --disable-static --docdir=%_docdir/%name make %{?_smp_mflags} V=1 %install