Adam Majer 2019-07-16 07:58:08 +00:00 committed by Git OBS Bridge
parent 49783ccec7
commit fef008683e

View File

@ -94,8 +94,6 @@ autoreconf -fi
cd libltdl; autoreconf -fi; cd .. 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 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" export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"
%configure \ %configure \
--disable-strict-error-checking \ --disable-strict-error-checking \