diff --git a/libwpd.changes b/libwpd.changes index ee68e1d..7a38624 100644 --- a/libwpd.changes +++ b/libwpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 23 18:13:12 UTC 2012 - crrodriguez@opensuse.org + +- Build with fvisibility-inlines-hidden, saves around + 600 entries in the exported symbol table. + ------------------------------------------------------------------- Tue Nov 29 15:10:34 UTC 2011 - jengelh@medozas.de diff --git a/libwpd.spec b/libwpd.spec index cbdeecf..62aed3a 100644 --- a/libwpd.spec +++ b/libwpd.spec @@ -1,7 +1,7 @@ # # spec file for package libwpd # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -26,7 +26,7 @@ Version: 0.9.4 Release: 0 Summary: Library for Importing WordPerfect (tm) Documents Source: libwpd-%{version}.tar.bz2 -URL: http://libwpd.sourceforge.net +Url: http://libwpd.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -80,6 +80,7 @@ supported: html, raw, text %setup -q %build +export CXXFLAGS="%optflags -fvisibility-inlines-hidden" %configure --disable-static --docdir=%_docdir/%name make %{?_smp_mflags}