aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h
blob: 52ff6d3247fa0aae1db0ef6f1a2e9a94b73d0fc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./libavutil/x86/asm.h.orig	2013-11-01 13:02:26.000000000 -0400
+++ ./libavutil/x86/asm.h	2013-11-01 13:03:00.000000000 -0400
@@ -70,7 +70,7 @@
 typedef int x86_reg;
 #endif
 
-#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))
+#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE && !defined(__clang__)))
 #define HAVE_6REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE || HAVE_EBP_AVAILABLE))
 
 #if ARCH_X86_64 && defined(PIC)