Accepting request 316908 from home:olh:branches:multimedia:libs

- Build with -fPIC

OBS-URL: https://build.opensuse.org/request/show/316908
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vamp-plugin-sdk?expand=0&rev=9
This commit is contained in:
Ismail Dönmez 2015-07-15 10:27:20 +00:00 committed by Git OBS Bridge
parent 66d515044d
commit 5c8c0fd593
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 13 07:51:31 UTC 2015 - olaf@aepfle.de
- Build with -fPIC
-------------------------------------------------------------------
Wed Apr 8 03:16:33 UTC 2015 - p.drouand@gmail.com

View File

@ -73,6 +73,8 @@ sed -i 's|/lib/|/%{_lib}/|g' src/vamp-hostsdk/PluginLoader.cpp
sed -i 's|$(INSTALL_PREFIX)/lib|@libdir@|g' Makefile.in
%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC -Wall"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -Wall"
%configure
make %{?_smp_mflags}
@ -161,4 +163,4 @@ make clean
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
%changelog