From 1dccc0f10d9c5730251f386850c7eb636165c055744be3f080de8b6ebc362685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Sat, 23 May 2015 13:28:44 +0000 Subject: [PATCH] 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 --- wireshark.changes | 5 +++++ wireshark.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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