redhat-rpm-config: change default arch level target for all ARM v7 to armv7hl
All ARM version 7 systems support a vector hardware floating point unit and have the ability to run using the hard floating point ABI (aapcs-vfpv3-d16). This is the only configuration we support as a v7 target, so we force the use of hard floating point. This prevents e.g. packages being built with a armv5tel target on an armv7 system without explicit intent. Signed-off-by: Jon Masters <jcm@jonmasters.org>
This commit is contained in:
parent
92e4921960
commit
a51eb50bb4
@ -1,7 +1,7 @@
|
||||
diff -uNr redhat-rpm-config-9.1.0-orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
|
||||
--- redhat-rpm-config-9.1.0-orig/rpmrc 2010-02-02 03:24:04.000000000 -0600
|
||||
+++ redhat-rpm-config-9.1.0/rpmrc 2011-06-13 10:40:02.000000000 -0500
|
||||
@@ -46,10 +46,12 @@
|
||||
diff -urNp redhat-rpm-config-9.1.0_orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
|
||||
--- redhat-rpm-config-9.1.0_orig/rpmrc 2010-02-02 04:24:04.000000000 -0500
|
||||
+++ redhat-rpm-config-9.1.0/rpmrc 2011-07-02 04:29:11.921575635 -0400
|
||||
@@ -46,10 +46,12 @@ optflags: armv3l %{__global_cflags} -fsi
|
||||
optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4
|
||||
optflags: armv4l %{__global_cflags} -fsigned-char -march=armv4
|
||||
optflags: armv4tl %{__global_cflags} -march=armv4t
|
||||
@ -18,9 +18,12 @@ diff -uNr redhat-rpm-config-9.1.0-orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
|
||||
|
||||
optflags: atarist %{__global_cflags}
|
||||
optflags: atariste %{__global_cflags}
|
||||
@@ -77,4 +79,5 @@
|
||||
@@ -76,5 +78,7 @@ buildarchtranslate: sparcv9v: sparcv9
|
||||
|
||||
buildarchtranslate: armv5tejl: armv5tel
|
||||
buildarchtranslate: armv6l: armv5tel
|
||||
buildarchtranslate: armv7l: armv5tel
|
||||
-buildarchtranslate: armv7l: armv5tel
|
||||
+buildarchtranslate: armv7l: armv7hl
|
||||
+buildarchtranslate: armv7hl: armv7hl
|
||||
+buildarchtranslate: armv7hnl: armv7hl
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Red Hat specific rpm configuration files
|
||||
Name: redhat-rpm-config
|
||||
Version: 9.1.0
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
# No version specified.
|
||||
License: GPL+
|
||||
Group: Development/System
|
||||
@ -57,7 +57,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_sysconfdir}/rpm/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 27 2011 Adam Jackson <ajax@redhat.com> 9.1.0-11
|
||||
* Sat Jul 02 2011 Jon Masters <jcm@jonmasters.org> - 9.1.0-12
|
||||
- redhat-rpm-config-9.1.0-arm.patch: Make armv7hl default on all v7 ARM
|
||||
|
||||
* Mon Jun 27 2011 Adam Jackson <ajax@redhat.com> - 9.1.0-11
|
||||
- redhat-rpm-config-9.1.0-relro.patch: Add -Wl,-z,relro to __global_cflags
|
||||
|
||||
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 9.1.0-10
|
||||
|
Loading…
Reference in New Issue
Block a user