diff --git a/erlang.spec b/erlang.spec index 4d7ca9b..b860d95 100644 --- a/erlang.spec +++ b/erlang.spec @@ -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 @@ sed -i 's|@RX_LDFLAGS@||' lib/common_test/c_src/Makefile.in %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 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Feb 14 2009 Dennis Gilmore - R12B-4.4 +- fix sparc arches to compile + * Sat Oct 25 2008 Gerard Milmeister - R12B-4.1 - new release R12B-4