diff options
author | Dennis Gilmore <ausil@fedoraproject.org> | 2009-02-15 02:45:54 +0000 |
---|---|---|
committer | Dennis Gilmore <ausil@fedoraproject.org> | 2009-02-15 02:45:54 +0000 |
commit | 6d50d6010a25386a1afc95ba61565bd8df0ef5b1 (patch) | |
tree | 9ca0e90740d452ab992c18d164bfe8f85c71cc01 /erlang.spec | |
parent | 819bc1dc79ea1d9567bfcd75e89a6e59c16299cd (diff) | |
download | erlang-6d50d6010a25386a1afc95ba61565bd8df0ef5b1.tar.gz erlang-6d50d6010a25386a1afc95ba61565bd8df0ef5b1.tar.xz erlang-6d50d6010a25386a1afc95ba61565bd8df0ef5b1.zip |
fix sparc arches
Diffstat (limited to 'erlang.spec')
-rw-r--r-- | erlang.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/erlang.spec b/erlang.spec index 4683aa1..d29e816 100644 --- a/erlang.spec +++ b/erlang.spec @@ -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 @@ 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 <dennis@ausil.us> - R12B-4.5 +- fix sparc arches to compile + * Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - R12B-4.4 - rebuild with new openssl |