rpms/erlang/devel erlang.spec,1.35,1.36

Dennis Gilmore ausil at fedoraproject.org
Sun Feb 15 02:46:24 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/erlang/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4917

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



Index: erlang.spec
===================================================================
RCS file: /cvs/pkgs/rpms/erlang/devel/erlang.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- erlang.spec	16 Jan 2009 10:24:15 -0000	1.35
+++ erlang.spec	15 Feb 2009 02:45:54 -0000	1.36
@@ -3,7 +3,7 @@
 
 Name:           erlang
 Version:        %{ver}
-Release:        %{rel}.4%{?dist}
+Release:        %{rel}.5%{?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.5
+- fix sparc arches to compile
+
 * Fri Jan 16 2009 Tomas Mraz <tmraz at redhat.com> - R12B-4.4
 - rebuild with new openssl
 




More information about the fedora-extras-commits mailing list