From 9d60527a1315772f1d532d662a3aa607e62bb917 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 20 Mar 2014 13:14:33 +0100 Subject: [PATCH] configure: fix direct symbol ref support detection Signed-off-by: Michael Niedermayer --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index f744e4c897..41e64512c0 100755 --- a/configure +++ b/configure @@ -4309,7 +4309,8 @@ EOF # check whether xmm clobbers are supported check_inline_asm xmm_clobbers '"":::"%xmm0"' - check_inline_asm inline_asm_direct_symbol_refs '"movl test, %eax"' + check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test, %eax"' || + check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"' # check whether binutils is new enough to compile SSSE3/MMXEXT enabled ssse3 && check_inline_asm ssse3_inline '"pabsw %xmm0, %xmm0"'