forked from pool/java-21-openjdk
This commit is contained in:
parent
4d36168742
commit
d0cb0d345a
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user