SHA256
1
0
forked from pool/squid

- disable LTO to as a workaround to tests failing

OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=189
This commit is contained in:
Adam Majer 2019-07-16 07:57:43 +00:00 committed by Git OBS Bridge
parent 1f7d2548ca
commit 49783ccec7
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ Mon Jul 15 14:58:13 UTC 2019 - Adam Majer <adam.majer@suse.de>
+ 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 <adam.majer@suse.de>

View File

@ -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 \