SHA256
1
0
forked from pool/wireshark
Andreas Stieger 2015-07-13 08:33:44 +00:00 committed by Git OBS Bridge
parent 096607e51e
commit e464b5fbc9

View File

@ -195,6 +195,7 @@ sed \
# for patch6 wireshark-1.12.x-allow-gdk-pixbuf-deprecation.patch # for patch6 wireshark-1.12.x-allow-gdk-pixbuf-deprecation.patch
autoreconf -fiv autoreconf -fiv
# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2
export CFLAGS="%optflags -fPIC -fPIE" export CFLAGS="%optflags -fPIC -fPIE"
export CXXFLAGS="%optflags -fPIC -fPIE" export CXXFLAGS="%optflags -fPIC -fPIE"
export LDFLAGS="-pie" export LDFLAGS="-pie"
@ -205,7 +206,6 @@ export PATH="%{_libdir}/qt5/bin:$PATH"
%endif %endif
%configure \ %configure \
# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2
%if 0%{?suse_version} < 1220 %if 0%{?suse_version} < 1220
--without-zlib \ --without-zlib \
%endif %endif