diff --git a/wireshark.changes b/wireshark.changes index a48fd4e..44fa830 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -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 diff --git a/wireshark.spec b/wireshark.spec index be66f3c..785cc12 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -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