Blame SOURCES/redhat-rpm-config-9.1.0-arm.patch

eaaa62
diff -urNp redhat-rpm-config-9.1.0_orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
eaaa62
--- redhat-rpm-config-9.1.0_orig/rpmrc	2010-02-02 04:24:04.000000000 -0500
eaaa62
+++ redhat-rpm-config-9.1.0/rpmrc	2011-07-02 04:29:11.921575635 -0400
eaaa62
@@ -46,10 +46,12 @@ optflags: armv3l %{__global_cflags} -fsi
eaaa62
 optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4
eaaa62
 optflags: armv4l %{__global_cflags} -fsigned-char -march=armv4
eaaa62
 optflags: armv4tl %{__global_cflags} -march=armv4t
eaaa62
-optflags: armv5tel %{__global_cflags} -march=armv5te
eaaa62
-optflags: armv5tejl %{__global_cflags} -march=armv5te
eaaa62
-optflags: armv6l %{__global_cflags} -march=armv6
eaaa62
-optflags: armv7l %{__global_cflags} -march=armv7
eaaa62
+optflags: armv5tel %{__global_cflags} -march=armv5te -mfloat-abi=soft
eaaa62
+optflags: armv5tejl %{__global_cflags} -march=armv5te -mfloat-abi=soft
eaaa62
+optflags: armv6l %{__global_cflags} -march=armv6 -mfloat-abi=soft
eaaa62
+optflags: armv7l %{__global_cflags} -march=armv7-a -mfloat-abi=soft
eaaa62
+optflags: armv7hl %{__global_cflags} -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard
eaaa62
+optflags: armv7hnl %{__global_cflags} -march=armv7-a -mfpu=neon  -mfloat-abi=hard
eaaa62
 
eaaa62
 optflags: atarist %{__global_cflags}
eaaa62
 optflags: atariste %{__global_cflags}
eaaa62
@@ -76,5 +78,7 @@ buildarchtranslate: sparcv9v: sparcv9
eaaa62
 
eaaa62
 buildarchtranslate: armv5tejl: armv5tel
eaaa62
 buildarchtranslate: armv6l: armv5tel
eaaa62
 buildarchtranslate: armv7l: armv5tel
eaaa62
+buildarchtranslate: armv7hl: armv7hl
eaaa62
+buildarchtranslate: armv7hnl: armv7hl
eaaa62