From 8441eb7274099da6ffd68741dcd7cd5c7fe93104 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Thu, 2 May 2019 14:35:27 +0100 Subject: [PATCH] build: reduce indentation in meson check Just syntax change to reduce indentation, no functional change. Signed-off-by: Ferruh Yigit Acked-by: Bruce Richardson --- config/x86/meson.build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/x86/meson.build b/config/x86/meson.build index 0a7bed75e2..bb23771b45 100644 --- a/config/x86/meson.build +++ b/config/x86/meson.build @@ -4,11 +4,9 @@ # get binutils version for the workaround of Bug 97 if not is_windows ldver = run_command('ld', '-v').stdout().strip() - if ldver.contains('2.30') - if cc.has_argument('-mno-avx512f') - machine_args += '-mno-avx512f' - message('Binutils 2.30 detected, disabling AVX512 support as workaround for bug #97') - endif + if ldver.contains('2.30') and cc.has_argument('-mno-avx512f') + machine_args += '-mno-avx512f' + message('Binutils 2.30 detected, disabling AVX512 support as workaround for bug #97') endif if ldver.contains('2.31') and cc.has_argument('-mno-avx512f') machine_args += '-mno-avx512f' -- 2.20.1