Lubomir Rintel 4a3c93
diff --git a/macros.in b/macros.in
Lubomir Rintel 4a3c93
index 5ae8c2b..1234409 100644
Lubomir Rintel 4a3c93
--- a/macros.in
Lubomir Rintel 4a3c93
+++ b/macros.in
Lubomir Rintel 4a3c93
@@ -999,7 +999,7 @@ done \
1672df
 
1672df
 #------------------------------------------------------------------------------
1672df
 # arch macro for all supported ARM processors
1672df
-%arm	armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l
Lubomir Rintel 4a3c93
+%arm	armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl
1672df
 
1672df
 #------------------------------------------------------------------------------
1672df
 # arch macro for all supported Sparc processors
Lubomir Rintel 4a3c93
diff --git a/rpmrc.in b/rpmrc.in
Lubomir Rintel 4a3c93
index 0427913..bd39204 100644
Lubomir Rintel 4a3c93
--- a/rpmrc.in
Lubomir Rintel 4a3c93
+++ b/rpmrc.in
Lubomir Rintel 4a3c93
@@ -67,7 +67,11 @@ optflags: armv4tl -O2 -g -march=armv4t
Lubomir Rintel 4a3c93
 optflags: armv5tel -O2 -g -march=armv5te
1672df
 optflags: armv5tejl -O2 -g -march=armv5te
1672df
 optflags: armv6l -O2 -g -march=armv6
Lubomir Rintel 4a3c93
+optflags: armv6hl -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp
Lubomir Rintel 4a3c93
+
1672df
 optflags: armv7l -O2 -g -march=armv7
Panu Matilainen 0eab6b
+optflags: armv7hl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
Panu Matilainen 0eab6b
+optflags: armv7hnl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=neon
1672df
 
1672df
 optflags: atarist -O2 -g -fomit-frame-pointer
1672df
 optflags: atariste -O2 -g -fomit-frame-pointer
Lubomir Rintel 4a3c93
@@ -180,7 +184,10 @@ arch_canon:     armv4l:	armv4l 	12
Lubomir Rintel 4a3c93
 arch_canon:     armv5tel: armv5tel 	12
1672df
 arch_canon:     armv5tejl: armv5tejl 	12
1672df
 arch_canon:     armv6l: armv6l 	12
Lubomir Rintel 4a3c93
+arch_canon:     armv6hl: armv6hl 	12
1672df
 arch_canon:     armv7l: armv7l 	12
1672df
+arch_canon:     armv7hl: armv7hl 	12
1672df
+arch_canon:     armv7hnl: armv7hnl 	12
1672df
 
1672df
 arch_canon:	m68kmint: m68kmint	13
1672df
 arch_canon:	atarist: m68kmint	13
Lubomir Rintel 4a3c93
@@ -293,7 +300,10 @@ buildarchtranslate: armv4tl: armv4tl
Lubomir Rintel 4a3c93
 buildarchtranslate: armv5tel: armv5tel
1672df
 buildarchtranslate: armv5tejl: armv5tejl
1672df
 buildarchtranslate: armv6l: armv6l
Lubomir Rintel 4a3c93
+buildarchtranslate: armv6hl: armv6hl
1672df
 buildarchtranslate: armv7l: armv7l
1672df
+buildarchtranslate: armv7hl: armv7hl
1672df
+buildarchtranslate: armv7hnl: armv7hnl
1672df
 
1672df
 buildarchtranslate: atarist: m68kmint
1672df
 buildarchtranslate: atariste: m68kmint
Lubomir Rintel 4a3c93
@@ -386,6 +396,9 @@ arch_compat: armv5tel: armv4tl
1672df
 arch_compat: armv4tl: armv4l
1672df
 arch_compat: armv4l: armv3l
1672df
 arch_compat: armv3l: noarch
1672df
+arch_compat: armv7hnl: armv7hl
Lubomir Rintel 4a3c93
+arch_compat: armv7hl: armv6hl
Lubomir Rintel 4a3c93
+arch_compat: armv6hl: noarch
1672df
 
1672df
 arch_compat: atarist: m68kmint noarch
1672df
 arch_compat: atariste: m68kmint noarch
Lubomir Rintel 4a3c93
@@ -497,6 +510,10 @@ buildarch_compat: armv4tl: armv4l
1672df
 buildarch_compat: armv4l: armv3l
1672df
 buildarch_compat: armv3l: noarch
1672df
 
1672df
+buildarch_compat: armv7hnl: armv7hl
Lubomir Rintel 4a3c93
+buildarch_compat: armv7hl: armv6hl
Lubomir Rintel 4a3c93
+buildarch_compat: armv6hl: noarch
1672df
+
1672df
 buildarch_compat: hppa2.0: hppa1.2
1672df
 buildarch_compat: hppa1.2: hppa1.1
1672df
 buildarch_compat: hppa1.1: hppa1.0