| Index: src/platform-linux.cc
|
| ===================================================================
|
| --- src/platform-linux.cc (revision 3712)
|
| +++ src/platform-linux.cc (working copy)
|
| @@ -89,6 +89,8 @@
|
| // Here gcc is telling us that we are on an ARM and gcc is assuming that we
|
| // have VFP3 instructions. If gcc can assume it then so can we.
|
| return 1u << VFP3;
|
| +#elif CAN_USE_ARMV7_INSTRUCTIONS
|
| + return 1u << ARMv7;
|
| #else
|
| return 0; // Linux runs on anything.
|
| #endif
|
| @@ -113,6 +115,9 @@
|
| case VFP3:
|
| search_string = "vfp";
|
| break;
|
| + case ARMv7:
|
| + search_string = "ARMv7";
|
| + break;
|
| default:
|
| UNREACHABLE();
|
| }
|
|
|