forked from pool/java-21-openjdk
This commit is contained in:
@@ -456,6 +456,14 @@ sed -i -e "s:@NSS_SECMOD@:sql\:/etc/pki/nssdb:g" nss.fips.cfg
|
|||||||
export ARCH_DATA_MODEL=64
|
export ARCH_DATA_MODEL=64
|
||||||
%endif
|
%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}
|
mkdir -p %{buildoutputdir}
|
||||||
|
|
||||||
pushd %{buildoutputdir}
|
pushd %{buildoutputdir}
|
||||||
@@ -494,6 +502,8 @@ bash ../configure \
|
|||||||
%endif
|
%endif
|
||||||
--with-stdc++lib=dynamic \
|
--with-stdc++lib=dynamic \
|
||||||
--disable-javac-server \
|
--disable-javac-server \
|
||||||
|
--with-extra-cxxflags="${EXTRA_CPP_FLAGS}" \
|
||||||
|
--with-extra-cflags="${EXTRA_CFLAGS}" \
|
||||||
--disable-warnings-as-errors
|
--disable-warnings-as-errors
|
||||||
|
|
||||||
make --no-print-directory \
|
make --no-print-directory \
|
||||||
|
|||||||
Reference in New Issue
Block a user