Blame rpm-4.11.90-arm-vfp3.patch
|
Panu Matilainen |
017fe5 |
diff -up rpm-4.11.90-git12844/lib/rpmrc.c.arm-vfp3 rpm-4.11.90-git12844/lib/rpmrc.c
|
|
Panu Matilainen |
017fe5 |
--- rpm-4.11.90-git12844/lib/rpmrc.c.arm-vfp3 2014-07-02 13:06:07.626643228 +0300
|
|
Panu Matilainen |
017fe5 |
+++ rpm-4.11.90-git12844/lib/rpmrc.c 2014-07-02 13:06:24.290591042 +0300
|
|
Panu Matilainen |
017fe5 |
@@ -1156,11 +1156,11 @@ static void defaultMachine(rpmrcCtx ctx,
|
|
Panu Matilainen |
017fe5 |
# if !defined(HWCAP_ARM_NEON)
|
|
Panu Matilainen |
017fe5 |
# define HWCAP_ARM_NEON (1 << 12)
|
|
Panu Matilainen |
017fe5 |
# endif
|
|
Panu Matilainen |
017fe5 |
-# if !defined(HWCAP_ARM_VFPv3D16)
|
|
Panu Matilainen |
017fe5 |
-# define HWCAP_ARM_VFPv3D16 (1 << 13)
|
|
Panu Matilainen |
017fe5 |
+# if !defined(HWCAP_ARM_VFPv3)
|
|
Panu Matilainen |
017fe5 |
+# define HWCAP_ARM_VFPv3 (1 << 13)
|
|
Panu Matilainen |
017fe5 |
# endif
|
|
Panu Matilainen |
017fe5 |
if (rstreq(un.machine, "armv7l")) {
|
|
Panu Matilainen |
017fe5 |
- if (rpmat.hwcap & HWCAP_ARM_VFPv3D16) {
|
|
Panu Matilainen |
017fe5 |
+ if (rpmat.hwcap & HWCAP_ARM_VFPv3) {
|
|
Panu Matilainen |
017fe5 |
if (rpmat.hwcap & HWCAP_ARM_NEON)
|
|
Panu Matilainen |
017fe5 |
strcpy(un.machine, "armv7hnl");
|
|
Panu Matilainen |
017fe5 |
else
|