Accepting request 308434 from home:elvigia:branches:network:utilities

- force -fPIC build to make QT5 happy.

OBS-URL: https://build.opensuse.org/request/show/308434
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=144
This commit is contained in:
Lars Müller 2015-05-23 13:28:44 +00:00 committed by Git OBS Bridge
parent 977d0286fe
commit 1dccc0f10d
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 23 05:18:26 UTC 2015 - crrodriguez@opensuse.org
- force -fPIC build to make QT5 happy.
-------------------------------------------------------------------
Wed May 13 10:44:58 UTC 2015 - astieger@suse.com

View File

@ -196,8 +196,8 @@ sed \
autoreconf -fiv
# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2
export CFLAGS="%optflags -fPIE"
export CXXFLAGS="%optflags -fPIE"
export CFLAGS="%optflags -fPIC -fPIE"
export CXXFLAGS="%optflags -fPIC -fPIE"
export LDFLAGS="-pie"
%if 0%{?suse_version} > 1320
@ -231,7 +231,8 @@ export PATH="%{_libdir}/qt5/bin:$PATH"
--with-gnutls=yes \
%endif
--with-gcrypt=yes \
--with-plugins=%{_libdir}/%{name}/plugins/%{version}
--with-plugins=%{_libdir}/%{name}/plugins/%{version} \
--with-pic
make %{?_smp_mflags} V=1