disable-armv7-tick.patch 444 B

12345678910111213141516
  1. --- a/crypto/armcap.c (index)
  2. +++ b/crypto/armcap.c (working tree)
  3. @@ -234,11 +234,13 @@ void OPENSSL_cpuid_setup(void)
  4. }
  5. # endif
  6. + #ifndef ARCADIA_OPENSSL_DISABLE_ARMV7_TICK
  7. /* Things that getauxval didn't tell us */
  8. if (sigsetjmp(ill_jmp, 1) == 0) {
  9. _armv7_tick();
  10. OPENSSL_armcap_P |= ARMV7_TICK;
  11. }
  12. + #endif
  13. sigaction(SIGILL, &ill_oact, NULL);
  14. sigprocmask(SIG_SETMASK, &oset, NULL);