richardphibel / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
5860f5
diff -uNr rpm-4.9.0-orig//macros.in rpm-4.9.0/macros.in
5860f5
--- rpm-4.9.0-orig//macros.in	2011-08-05 12:23:04.000000000 -0500
5860f5
+++ rpm-4.9.0/macros.in	2011-08-05 12:25:13.000000000 -0500
5860f5
@@ -1032,7 +1032,7 @@
5860f5
 
5860f5
 #------------------------------------------------------------------------------
5860f5
 # arch macro for all supported ARM processors
5860f5
-%arm	armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l
5860f5
+%arm	armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l armv7hl armv7hnl
5860f5
 
5860f5
 #------------------------------------------------------------------------------
5860f5
 # arch macro for all supported Sparc processors
5860f5
diff -uNr rpm-4.9.0-orig//rpmrc.in rpm-4.9.0/rpmrc.in
5860f5
--- rpm-4.9.0-orig//rpmrc.in	2011-08-05 12:23:04.000000000 -0500
5860f5
+++ rpm-4.9.0/rpmrc.in	2011-08-05 12:26:34.000000000 -0500
4c9460
@@ -66,8 +66,10 @@
5860f5
 optflags: armv5tejl -O2 -g -march=armv5te
5860f5
 optflags: armv6l -O2 -g -march=armv6
5860f5
 optflags: armv7l -O2 -g -march=armv7
5860f5
+optflags: armv7hl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
5860f5
+optflags: armv7hnl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=neon
5860f5
 
4c9460
 optflags: m68k -O2 -g -fomit-frame-pointer
4c9460
 
5860f5
 optflags: atarist -O2 -g -fomit-frame-pointer
5860f5
 optflags: atariste -O2 -g -fomit-frame-pointer
5860f5
@@ -140,6 +142,8 @@
5860f5
 arch_canon:     armv5tejl: armv5tejl 	12
5860f5
 arch_canon:     armv6l: armv6l 	12
5860f5
 arch_canon:     armv7l: armv7l 	12
5860f5
+arch_canon:     armv7hl: armv7hl 	12
5860f5
+arch_canon:     armv7hnl: armv7hnl 	12
5860f5
 
5860f5
 arch_canon:	m68kmint: m68kmint	13
5860f5
 arch_canon:	atarist: m68kmint	13
4c9460
@@ -248,8 +252,10 @@
5860f5
 buildarchtranslate: armv5tejl: armv5tejl
5860f5
 buildarchtranslate: armv6l: armv6l
5860f5
 buildarchtranslate: armv7l: armv7l
5860f5
+buildarchtranslate: armv7hl: armv7hl
5860f5
+buildarchtranslate: armv7hnl: armv7hnl
5860f5
 
4c9460
 buildarchtranslate: m68k: m68k
4c9460
 
5860f5
 buildarchtranslate: atarist: m68kmint
5860f5
 buildarchtranslate: atariste: m68kmint
4c9460
@@ -336,8 +342,10 @@
5860f5
 arch_compat: armv4tl: armv4l
5860f5
 arch_compat: armv4l: armv3l
5860f5
 arch_compat: armv3l: noarch
5860f5
+arch_compat: armv7hnl: armv7hl
5860f5
+arch_compat: armv7hl: noarch
5860f5
 
4c9460
 arch_compat: m68k: noarch
4c9460
 
5860f5
 arch_compat: atarist: m68kmint noarch
5860f5
 arch_compat: atariste: m68kmint noarch
5860f5
@@ -441,6 +449,9 @@
5860f5
 buildarch_compat: armv4l: armv3l
5860f5
 buildarch_compat: armv3l: noarch
5860f5
 
5860f5
+buildarch_compat: armv7hnl: armv7hl
5860f5
+buildarch_compat: armv7hl: noarch
5860f5
+
5860f5
 buildarch_compat: hppa2.0: hppa1.2
5860f5
 buildarch_compat: hppa1.2: hppa1.1
5860f5
 buildarch_compat: hppa1.1: hppa1.0