summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cox <jc@kynesim.co.uk>2018-05-30 17:30:31 +0100
committerMartin Storsjö <martin@martin.st>2018-06-29 13:43:28 +0300
commit52fd2afce8436c59c05765f3a6e95f9adb6f9f2f (patch)
tree1cf7cc0f9f1a54b75db8b6d09c81eaee19768f26
parent4ce701b4e640d4723a4005d664f31f8342fac40e (diff)
configure: fix inline asm checks
Commit 8c893aa3cd5 removed quotes that were required to detect inline asm: 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@chromium.org> Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5e79c0cec1..48e8536b07 100755
--- a/configure
+++ b/configure
@@ -866,7 +866,7 @@ EOF
check_insn(){
log check_insn "$@"
- check_inline_asm ${1}_inline "$2"
+ check_inline_asm ${1}_inline "\"$2\""
check_as ${1}_external "$2"
}