From b77e335e441040a40fc6156b8e4a134745d10233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st> Date: Thu, 5 Mar 2015 23:38:00 +0200 Subject: [PATCH] configure: Move the .object_arch check to the right place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö <martin@martin.st> --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 59438b833e8..0042246fae2 100755 --- a/configure +++ b/configure @@ -3869,11 +3869,6 @@ if enabled_any arm aarch64 || enabled_all ppc altivec && enabled asm; then check_as <<EOF && enable as_func .func test .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 fi @@ -3925,6 +3920,11 @@ EOF check_as <<EOF && enable as_dn_directive ra .dn d0.i16 .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 [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic -- GitLab