From: Ferruh Yigit Date: Thu, 2 May 2019 13:35:27 +0000 (+0100) Subject: build: reduce indentation in meson check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8441eb7274099da6ffd68741dcd7cd5c7fe93104;p=dpdk.git build: reduce indentation in meson check Just syntax change to reduce indentation, no functional change. Signed-off-by: Ferruh Yigit Acked-by: Bruce Richardson --- 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'