From 15201e256035a3e8f9d3d7b96fc327467e1a8ead Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 5 Aug 2014 12:08:09 +0200 Subject: [PATCH] configure: check $as first before using $gas as GNU as llvm's integrated assembler supports the AArch64 asm on darwin since August 2014. So check $as first before using gas-preprocessor.pl via $gas. Makes the checks specific for that the architecture specific asm needs. PPC Altivec and AArch64 needs on ':vararg' for macro arguments. Arm needs in addition the '.altmacro' directive. --- configure | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/configure b/configure index b2eb0c8e3f..22c78e76f8 100755 --- a/configure +++ b/configure @@ -3760,22 +3760,32 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian - -if enabled asm; then - enabled arm && nogas=die - enabled_all ppc altivec && nogas=warn - as=${gas:=$as} - check_as <