aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-18 20:28:56 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-06 23:34:23 (GMT)
commite3b40e8e5303a68c4546ba6623c7f8ee5ef71743 (patch)
tree714e2fdffe6351a367ce5f9c112974845d54c812
parentff89f405d7ae1edc377034a1c72eccd5c42b4f85 (diff)
[media] Fix check for PIC define
See https://bugs.gentoo.org/show_bug.cgi?id=74227 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--src/cpu_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu_accel.c b/src/cpu_accel.c
index 83f6d23..c3667e7 100644
--- a/src/cpu_accel.c
+++ b/src/cpu_accel.c
@@ -35,7 +35,7 @@ static inline uint32_t arch_accel (void)
int AMD;
uint32_t caps;
-#ifndef PIC
+#if (!defined(__PIC__) && !defined(PIC)) || defined(__x86_64__)
#define cpuid(op,eax,ebx,ecx,edx) \
__asm__ ("cpuid" \
: "=a" (eax), \

Privacy Policy