1
0
Fridrich Strba 2023-10-17 18:33:26 +00:00 committed by Git OBS Bridge
parent 4d36168742
commit d0cb0d345a

View File

@ -456,6 +456,14 @@ sed -i -e "s:@NSS_SECMOD@:sql\:/etc/pki/nssdb:g" nss.fips.cfg
export ARCH_DATA_MODEL=64
%endif
EXTRA_CFLAGS="-Wno-error"
EXTRA_CPP_FLAGS="-Wno-error"
%ifarch %{ix86}
EXTRA_CFLAGS="${EXTRA_CFLAGS} -mstackrealign -mincoming-stack-boundary=2 -mpreferred-stack-boundary=4"
EXTRA_CPP_FLAGS="${EXTRA_CPP_FLAGS} -mstackrealign -mincoming-stack-boundary=2 -mpreferred-stack-boundary=4"
%endif
mkdir -p %{buildoutputdir}
pushd %{buildoutputdir}
@ -494,6 +502,8 @@ bash ../configure \
%endif
--with-stdc++lib=dynamic \
--disable-javac-server \
--with-extra-cxxflags="${EXTRA_CPP_FLAGS}" \
--with-extra-cflags="${EXTRA_CFLAGS}" \
--disable-warnings-as-errors
make --no-print-directory \