aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openssl/patches/disable-armv7-tick.patch
blob: 243bd8f4e532313b84400dde87c12172478323e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/crypto/armcap.c	(index)
+++ b/crypto/armcap.c	(working tree)
@@ -234,11 +234,13 @@ void OPENSSL_cpuid_setup(void)
     }
 # endif
 
+    #ifndef ARCADIA_OPENSSL_DISABLE_ARMV7_TICK
     /* Things that getauxval didn't tell us */
     if (sigsetjmp(ill_jmp, 1) == 0) {
         _armv7_tick();
         OPENSSL_armcap_P |= ARMV7_TICK;
     }
+    #endif
 
     sigaction(SIGILL, &ill_oact, NULL);
     sigprocmask(SIG_SETMASK, &oset, NULL);