This commit is contained in:
parent
3e69a3d183
commit
7015f9f1f3
@ -472,9 +472,6 @@ 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"
|
||||
@ -518,8 +515,10 @@ bash ../configure \
|
||||
%endif
|
||||
--with-stdc++lib=dynamic \
|
||||
--disable-javac-server \
|
||||
%ifarch %{ix86}
|
||||
--with-extra-cxxflags="${EXTRA_CPP_FLAGS}" \
|
||||
--with-extra-cflags="${EXTRA_CFLAGS}" \
|
||||
%endif
|
||||
--disable-warnings-as-errors
|
||||
|
||||
make --no-print-directory \
|
||||
|
Loading…
Reference in New Issue
Block a user