[eclipse-cdt/f18] Add compiler exclusion to prevent NPE occuring for arm build.
Jeff Johnston
jjohnstn at fedoraproject.org
Fri Jan 25 23:37:07 UTC 2013
commit e50cfbe7bd2cd068dcc10398594ef16e23abcdf6
Author: Jeff Johnston <jjohnstn at redhat.com>
Date: Fri Jan 25 18:36:29 2013 -0500
Add compiler exclusion to prevent NPE occuring for arm build.
eclipse-cdt.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-cdt.spec b/eclipse-cdt.spec
index 55d453c..bd00990 100644
--- a/eclipse-cdt.spec
+++ b/eclipse-cdt.spec
@@ -27,7 +27,7 @@ Epoch: 1
Summary: Eclipse C/C++ Development Tools (CDT) plugin
Name: eclipse-cdt
Version: %{majmin}.%{micro}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: EPL and CPL
Group: Development/Tools
URL: http://www.eclipse.org/cdt
@@ -142,6 +142,11 @@ popd
%build
export JAVA_HOME=%{java_home}
+# Exclude EquinoxResolver to avoid NPE occuring on arm
+%ifarch %{arm}
+export MAVEN_OPTS="-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState"
+%endif
+
# See comments in the script to understand this.
/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK \
%{eclipse_base} xmlrpc codec httpclient lang rse
@@ -253,6 +258,9 @@ rm -rf $installDir/eclipse/binary
%doc %{cdt_snapshot}/releng/org.eclipse.cdt.releng/notice.html
%changelog
+* Fri Jan 25 2013 Jeff Johnston <jjohnstn at redhat.com> - 1:8.1.1-2
+- Add compiler exclusion to prevent NPE occuring for arm build.
+
* Thu Oct 11 2012 Jeff Johnston <jjohnstn at redhat.com> - 1:8.1.1-1
- Update CDT to 8.1.1 (Juno SR1)
- Update Libhover to 1.1.1 (Juno SR1)
More information about the scm-commits
mailing list