Accepting request 51736 from Base:System
Accepted submit request 51736 from user elvigia OBS-URL: https://build.opensuse.org/request/show/51736 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lzo?expand=0&rev=13
This commit is contained in:
commit
d91564540f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 30 19:05:43 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- Use GCC visibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 11 12:30:25 CET 2010 - rguenther@suse.de
|
||||
|
||||
|
11
lzo.spec
11
lzo.spec
@ -104,9 +104,18 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -fvisibility=hidden"
|
||||
%configure --enable-shared --disable-static --libdir=/%{_lib}
|
||||
|
||||
#On windows, the build system defines __LZO_EXPORT1 to
|
||||
# __attribute__((dllexport))) which we can abuse to make
|
||||
#use of GCC visibility. ;-)
|
||||
#see http://gcc.gnu.org/wiki/Visibility
|
||||
#If you remove this, you must disable -fvisibility=hidden in CFLAGS!
|
||||
|
||||
echo '#define __LZO_EXPORT1 __attribute__ ((visibility ("default")))' >> config.h
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user