From 9183d218429c0fedb8be068170016a1c31cd3bf0 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 7 Oct 2020 12:22:37 +0300 Subject: meson: Enable -Wno-psabi for gcc 9+ I get the warnings related to psabi with: gcc 9.3.0 "arm-buildroot-linux-gnueabihf-g++.br_real (Buildroot 2020.08-24-gc5c5f1fa46) 9.3.0" Remove the check for gcc-9, so that -Wno-psabi is used on all gcc versions over 7.1. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index dd88eead..de15cc16 100644 --- a/meson.build +++ b/meson.build @@ -73,10 +73,9 @@ if cc.get_id() == 'gcc' # gcc 7.1 introduced processor-specific ABI breakages related to parameter # passing on ARM platforms. This generates a large number of messages - # during compilation with gcc >=7.1 until gcc 9. Silence them. + # during compilation with gcc >=7.1. Silence them. if (host_machine.cpu_family() == 'arm' and - cc.version().version_compare('>=7.1') and - cc.version().version_compare('<9')) + cc.version().version_compare('>=7.1')) cpp_arguments += [ '-Wno-psabi', ] -- cgit v1.2.1