$OpenBSD: patch-src_common_h,v 1.2 2012/08/20 11:50:59 pascal Exp $ --- src/common.h.orig Mon Jul 23 18:27:36 2012 +++ src/common.h Mon Jul 23 18:27:57 2012 @@ -30,7 +30,7 @@ #define CPUID_SSE2_AVAILABLE 2 #define CPUID_NOTHING_AVAILABLE 0 -#if defined(__i386__) || defined(__x86_64__) +#if (defined(__i386__) || defined(__x86_64__)) && !defined(__PIC__) #define CPUID() shasse2_cpuid() #else #define CPUID() CPUID_NOTHING_AVAILABLE