From ad94f1c8abe68a2b38536cc96a31327c6be7b105 Mon Sep 17 00:00:00 2001 From: John Cox Date: Wed, 30 May 2018 17:30:31 +0100 Subject: [PATCH] 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 Signed-off-by: James Almer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 53224f0ed5..625cfef2ff 100755 --- a/configure +++ b/configure @@ -1042,7 +1042,7 @@ EOF check_insn(){ log check_insn "$@" - check_inline_asm ${1}_inline "$2" + check_inline_asm ${1}_inline "\"$2\"" check_as ${1}_external "$2" }