This commit is contained in:
parent
5ed84a3d8e
commit
3357c26b36
@ -88,8 +88,9 @@ perl -p -i -e 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|' `find -name "*.pl"`
|
|||||||
chmod a-x CREDITS
|
chmod a-x CREDITS
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -DOPENSSL_LOAD_CONF"
|
export CFLAGS="%{optflags} -fPIE -fPIC -DOPENSSL_LOAD_CONF"
|
||||||
export CXXFLAGS="%{optflags} -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"
|
||||||
%configure \
|
%configure \
|
||||||
--disable-strict-error-checking \
|
--disable-strict-error-checking \
|
||||||
--sysconfdir=%{squidconfdir} \
|
--sysconfdir=%{squidconfdir} \
|
||||||
|
Loading…
Reference in New Issue
Block a user