diff --git a/crypto/armcap.c b/crypto/armcap.c index 74c2c5729595008a464c8ae6e4a3a92c393d6b8c..8dbd7410878a8c36f019475dc807a8165cd8d29f 100644 --- a/crypto/armcap.c +++ b/crypto/armcap.c @@ -29,6 +29,9 @@ unsigned int OPENSSL_rdtsc(void) return 0; } +#if defined(__GNUC__) && __GNUC__>=2 +void OPENSSL_cpuid_setup(void) __attribute__((constructor)) +#endif void OPENSSL_cpuid_setup(void) { char *e;