diff --git a/squid.changes b/squid.changes index f54ac86..6782d06 100644 --- a/squid.changes +++ b/squid.changes @@ -22,6 +22,7 @@ Mon Jul 15 14:58:13 UTC 2019 - Adam Majer + Fix Memory leak when http_reply_access uses external_acl + Fix Multiple XSS issues in cachemgr.cgi (bsc#1140738, CVE-2019-13345) +- disable LTO to as a workaround to tests failing ------------------------------------------------------------------- Wed May 8 10:41:22 UTC 2019 - Adam Majer diff --git a/squid.spec b/squid.spec index f0e2164..da83e6b 100644 --- a/squid.spec +++ b/squid.spec @@ -89,10 +89,13 @@ perl -p -i -e 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|' `find -name "*.pl"` %patch1 -p1 %build +%define _lto_cflags %{nil} autoreconf -fi cd libltdl; autoreconf -fi; cd .. export CFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF" export CXXFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF" +#export CFLAGS="-O2 -fPIE -fPIC -DOPENSSL_LOAD_CONF" +#export CXXFLAGS="-O2 -fPIE -fPIC -DOPENSSL_LOAD_CONF" export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie" %configure \ --disable-strict-error-checking \