Browse Source

configure: fix inline asm checks

Commit 8c893aa3cd 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>
tags/n4.1
John Cox Martin Storsjö 7 years ago
parent
commit
52fd2afce8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      configure

+ 1
- 1
configure View File

@@ -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"
}



Loading…
Cancel
Save