fix arm arches

This commit is contained in:
Dennis Gilmore 2009-02-17 20:43:27 +00:00
parent c6ffd92ca0
commit 1885be5cc7
2 changed files with 20 additions and 3 deletions

View File

@ -1,5 +1,6 @@
diff -Nur redhat-rpm-config-9.0.3-orig/rpmrc redhat-rpm-config-9.0.3/rpmrc
--- redhat-rpm-config-9.0.3-orig/rpmrc 2008-05-06 18:08:20.000000000 -0500 --- redhat-rpm-config-9.0.3-orig/rpmrc 2008-05-06 18:08:20.000000000 -0500
+++ redhat-rpm-config-9.0.3/rpmrc 2009-02-16 17:56:12.001032687 -0600 +++ redhat-rpm-config-9.0.3/rpmrc 2009-02-17 14:38:12.000000000 -0600
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
@ -19,7 +20,15 @@
optflags: m68k %{__global_cflags} optflags: m68k %{__global_cflags}
@@ -56,7 +58,19 @@ @@ -47,6 +49,7 @@
optflags: armv5tel %{__global_cflags} -march=armv5te
optflags: armv5tejl %{__global_cflags} -march=armv5te
optflags: armv6l %{__global_cflags} -march=armv6
+optflags: armv7l %{__global_cflags} -march=armv7
optflags: atarist %{__global_cflags}
optflags: atariste %{__global_cflags}
@@ -56,7 +59,23 @@
optflags: milan %{__global_cflags} optflags: milan %{__global_cflags}
optflags: hades %{__global_cflags} optflags: hades %{__global_cflags}
@ -39,5 +48,9 @@
+ +
+buildarchtranslate: sparcv9: sparcv9 +buildarchtranslate: sparcv9: sparcv9
+buildarchtranslate: sparcv9v: sparcv9 +buildarchtranslate: sparcv9v: sparcv9
+
+buildarchtranslate: armv5tejl: armv5tel
+buildarchtranslate: armv6l: armv5tel
+buildarchtranslate: armv7l: armv5tel
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros

View File

@ -1,7 +1,7 @@
Summary: Red Hat specific rpm configuration files. Summary: Red Hat specific rpm configuration files.
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 9.0.3 Version: 9.0.3
Release: 5%{?dist} Release: 6%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
Group: Development/System Group: Development/System
@ -33,6 +33,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat %{_prefix}/lib/rpm/redhat
%changelog %changelog
* Tue Feb 17 2009 Dennis Gilmore <dennis@ausil.us> - 9.0.3-6
- add missing armv7l arch
- set the default build arch to match fedora arm build target
* Mon Feb 16 2009 Dennis Gilmore <dennis@ausil.us> - 9.0.3-5 * Mon Feb 16 2009 Dennis Gilmore <dennis@ausil.us> - 9.0.3-5
- apply fedora 11 default buildflags - apply fedora 11 default buildflags
- set 32 bit intel build arch to i586 on compatiable hardware - set 32 bit intel build arch to i586 on compatiable hardware