Commit 51b911e9 authored by Martin Storsjö's avatar Martin Storsjö Committed by Michael Niedermayer

configure: Move the .object_arch check to the right place

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
(cherry picked from commit b77e335e)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bb508ddb
...@@ -4463,11 +4463,6 @@ if enabled_any arm aarch64 || enabled_all ppc altivec && enabled asm; then ...@@ -4463,11 +4463,6 @@ if enabled_any arm aarch64 || enabled_all ppc altivec && enabled asm; then
check_as <<EOF && enable as_func check_as <<EOF && enable as_func
.func test .func test
.endfunc .endfunc
EOF
# llvm's integrated assembler supports .object_arch from llvm 3.5
enabled arm && test "$objformat" = elf && check_as <<EOF && enable as_object_arch
.object_arch armv4
EOF EOF
fi fi
...@@ -4525,6 +4520,11 @@ EOF ...@@ -4525,6 +4520,11 @@ EOF
check_as <<EOF && enable as_dn_directive check_as <<EOF && enable as_dn_directive
ra .dn d0.i16 ra .dn d0.i16
.unreq ra .unreq ra
EOF
# llvm's integrated assembler supports .object_arch from llvm 3.5
[ "$objformat" = elf ] && check_as <<EOF && enable as_object_arch
.object_arch armv4
EOF EOF
[ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment