rpms/erlang/F-10 erlang.spec,1.34,1.35

Dennis Gilmore ausil at fedoraproject.org
Sun Feb 15 02:43:31 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/erlang/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4566

Modified Files:
	erlang.spec 
Log Message:
fix sparc arches 



Index: erlang.spec
===================================================================
RCS file: /cvs/pkgs/rpms/erlang/F-10/erlang.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- erlang.spec	25 Oct 2008 23:08:02 -0000	1.34
+++ erlang.spec	15 Feb 2009 02:43:00 -0000	1.35
@@ -3,7 +3,7 @@
 
 Name:           erlang
 Version:        %{ver}
-Release:        %{rel}.3%{?dist}
+Release:        %{rel}.4%{?dist}
 Summary:        General-purpose programming language and runtime environment
 
 Group:          Development/Languages
@@ -64,7 +64,11 @@
 
 
 %build
+%ifarch sparcv9 sparc64
+CFLAGS="-mcpu=ultrasparc -fno-strict-aliasing" ./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir}
+%else
 CFLAGS="-fno-strict-aliasing" ./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir}
+%endif
 chmod -R u+w .
 make
 
@@ -119,6 +123,9 @@
 
 
 %changelog
+* Sat Feb 14 2009 Dennis Gilmore <dennis at ausil.us> - R12B-4.4
+- fix sparc arches to compile
+
 * Sat Oct 25 2008 Gerard Milmeister <gemi at bluewin.ch> - R12B-4.1
 - new release R12B-4
 




More information about the fedora-extras-commits mailing list