[FFmpeg-cvslog] configure: fix arm inline asm checks

John Cox git at videolan.org
Wed Jun 6 16:51:06 EEST 2018


ffmpeg | branch: release/4.0 | John Cox <jc at kynesim.co.uk> | Wed May 30 17:30:31 2018 +0100| [72a34d23329944d4e062d07b9b5d730d332902b7] | committer: James Almer

configure: fix arm inline asm checks

Commit 8c893aa3cd5 removed quotes that were required to detect
inline asm in clang:

check_insn armv5te qadd r0, r0, r0
.../test.c:1:34: error: expected string literal in 'asm'
void foo(void){ __asm__ volatile(qadd r0, r0, r0); }

The correct code is:

void foo(void){ __asm__ volatile("qadd r0, r0, r0"); }

Commit message written by Frank Liberato <liberato at chromium.org>

Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit ad94f1c8abe68a2b38536cc96a31327c6be7b105)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72a34d23329944d4e062d07b9b5d730d332902b7
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index eb11d49750..ba3984910e 100755
--- a/configure
+++ b/configure
@@ -1036,7 +1036,7 @@ EOF
 
 check_insn(){
     log check_insn "$@"
-    check_inline_asm ${1}_inline "$2"
+    check_inline_asm ${1}_inline "\"$2\""
     check_as ${1}_external "$2"
 }
 



More information about the ffmpeg-cvslog mailing list