diff options
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-10-07 12:22:37 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-12 14:27:18 +0300 |
commit | 9183d218429c0fedb8be068170016a1c31cd3bf0 (patch) | |
tree | 71ba61e36516d3d5d20bae692bdeecd8a4eeb73f | |
parent | c29d56570492c33480a79ad0ab0a66fa08035d4b (diff) |
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 <tomi.valkeinen@iki.fi>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
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', ] |