- Fixed GCJ AOT compilation (Gary Benson).

This commit is contained in:
Andrew Overholt 2008-12-19 17:44:14 +00:00
parent 42a816b0e3
commit 234edf028e
1 changed files with 10 additions and 5 deletions

View File

@ -30,7 +30,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 11%{?dist}
Release: 12%{?dist}
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -1280,9 +1280,11 @@ ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
popd
unset RPM_PACKAGE_NAME
aot-compile -c "$RPM_OPT_FLAGS" $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/jdt/plugins \
$RPM_BUILD_ROOT%{_libdir}/gcj/eclipse-ecj
tmpdir=$PWD/aot-compile-ecj # must not be within $RPM_BUILD_ROOT
mkdir -p $tmpdir
cp -p $sdkDir/dropins/jdt/plugins/org.eclipse.jdt.core_*.jar $tmpdir
RPM_PACKAGE_NAME=eclipse-ecj RPM_BUILD_ROOT=$tmpdir aot-compile-rpm
cp -rp $tmpdir%{_libdir}/gcj $RPM_BUILD_ROOT%{_libdir}/gcj
%clean
rm -rf $RPM_BUILD_ROOT
@ -1565,7 +1567,10 @@ fi
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
%changelog
* Mon Dec 15 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-12
* Fri Dec 19 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-12
- Fixed GCJ AOT compilation (Gary Benson).
* Mon Dec 15 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-11
- Update pdebuild and package-build patch to include -z option.
- Make ecj default to 1.5 (rh#354721).
- Add GCJ AOT bits for ecj (rh#473674).