summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-10-13 20:33:15 +0200
committerDiego Biurrun <diego@biurrun.de>2017-03-07 08:32:37 +0100
commit57b753b445e23363c997a8ec1c556e0b0f6e9da3 (patch)
treea3c52e61aa087d38de4346368859424ffd67af74 /configure
parentf54037da8af2f2aeb5e5633b48434211e6a97fe5 (diff)
build: Prefer NASM assembler over YASM
NASM is more actively maintained and permits generating dependency information as a sideeffect of assembling, thus cutting build times in half.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 77b74dd408..587b2186cf 100755
--- a/configure
+++ b/configure
@@ -2563,7 +2563,7 @@ shlibdir_default="$libdir_default"
ar_default="ar"
cc_default="gcc"
host_cc_default="gcc"
-x86asmexe_default="yasm"
+x86asmexe_default="nasm"
ln_s="ln -s -f"
nm_default="nm -g"
pkg_config_default=pkg-config
@@ -4493,7 +4493,7 @@ EOF
}
if ! disabled_any asm mmx x86asm; then
- for program in $x86asmexe yasm nasm; do
+ for program in $x86asmexe nasm yasm; do
probe_x86asm $program
test -n "$x86asm_type" && break
done
@@ -4505,7 +4505,7 @@ EOF
esac
check_x86asm "movbe ecx, [5]" && enable x86asm ||
- die "yasm/nasm not found or too old. Use --disable-x86asm for a crippled build."
+ die "nasm/yasm not found or too old. Use --disable-x86asm for a crippled build."
check_x86asm "vextracti128 xmm0, ymm0, 0" || disable avx2_external
check_x86asm "vpmacsdd xmm0, xmm1, xmm2, xmm3" || disable xop_external
check_x86asm "vfmadd132ps ymm0, ymm1, ymm2" || disable fma3_external