1
0
2022-02-25 13:43:55 +00:00
committed by Git OBS Bridge
parent 83c5b2f1bd
commit ab2317925b

View File

@@ -399,6 +399,7 @@ bash configure \
CC=gcc-7 \ CC=gcc-7 \
NM=gcc-nm-7 \ NM=gcc-nm-7 \
%endif %endif
--enable-demos \
--disable-zip-debug-info \ --disable-zip-debug-info \
--with-milestone="fcs" \ --with-milestone="fcs" \
--with-update-version=%{updatever} \ --with-update-version=%{updatever} \
@@ -534,7 +535,7 @@ pushd %{imagesdir}/j2sdk-image
done done
# Install demos and samples. # Install demos and samples.
cp -a ../../jdk/demo %{buildroot}%{_jvmdir}/%{sdkdir} cp -a demo %{buildroot}%{_jvmdir}/%{sdkdir}
# enable short-circuit # enable short-circuit
mkdir -p sample/rmi mkdir -p sample/rmi
[ -f bin/java-rmi.cgi ] && mv bin/java-rmi.cgi sample/rmi [ -f bin/java-rmi.cgi ] && mv bin/java-rmi.cgi sample/rmi