aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2018-03-14 14:47:43 +0100
committerDiego Biurrun <diego@biurrun.de>2018-03-26 18:54:56 +0200
commit17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff (patch)
tree88ffbf1bf93494c5c7e64e5d72df9c93e0c53ea1
parentb9ea301e02472d0982b0fa0f80294bd95885bde8 (diff)
downloadffmpeg-17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff.tar.gz
configure: Use indirection for the -o assembler flag also for x86asm
Similar indirections are used for the -o compiler/assembler flag to account for differences in compiler/assembler syntax. For x86asm half the infrastructure for doing the same currently exists unused. Finish and use that infrastructure for consistency.
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 2dc7dd3f8c..844c3beb07 100755
--- a/configure
+++ b/configure
@@ -844,12 +844,16 @@ check_insn(){
check_as ${1}_external "$2"
}
+x86asm_o(){
+ eval printf '%s\\n' $X86ASM_O
+}
+
test_x86asm(){
log test_x86asm "$@"
echo "$1" > $TMPASM
log_file $TMPASM
shift 1
- test_cmd $x86asmexe $X86ASMFLAGS "$@" -o $TMPO $TMPASM
+ test_cmd $x86asmexe $X86ASMFLAGS "$@" $(x86asm_o $TMPO) $TMPASM
}
ld_o(){