- Fix package configure

OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=155
This commit is contained in:
Adam Majer 2018-05-15 08:19:04 +00:00 committed by Git OBS Bridge
parent bbb5cead36
commit 93c15019b4
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 15 07:43:44 UTC 2018 - adam.majer@suse.de
- Fix package configure
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 28 09:01:14 UTC 2018 - adam.majer@suse.de Wed Mar 28 09:01:14 UTC 2018 - adam.majer@suse.de

View File

@ -89,6 +89,7 @@ perl -p -i -e 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|' `find -name "*.pl"`
%build %build
autoreconf -fi autoreconf -fi
cd libltdl; autoreconf -fi; cd ..
export CFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF" export CFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF"
export CXXFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF" export CXXFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF"
export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie" export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"