summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-08-27 22:19:06 +0100
committerMans Rullgard <mans@mansr.com>2012-08-27 23:14:06 +0100
commitdf0d63413801830b2b920259d4cefc85af1a8de4 (patch)
tree8aa6fc867448e1872754050cda3d33bab3a61738 /configure
parent29b64b682766c9d08c72b5a6d8de69c905f32855 (diff)
configure: use AS_O setting in check_as
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 550524508d..6a338c057a 100755
--- a/configure
+++ b/configure
@@ -652,11 +652,15 @@ check_cpp(){
check_cmd $cc $CPPFLAGS $CFLAGS "$@" $(cc_e $TMPO) $TMPC
}
+as_o(){
+ eval printf '%s\\n' $AS_O
+}
+
check_as(){
log check_as "$@"
cat > $TMPC
log_file $TMPC
- check_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C -o $TMPO $TMPC
+ check_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPC
}
check_inline_asm(){