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>
This commit is contained in:
parent
c29d565704
commit
9183d21842
1 changed files with 2 additions and 3 deletions
|
@ -73,10 +73,9 @@ if cc.get_id() == 'gcc'
|
||||||
|
|
||||||
# gcc 7.1 introduced processor-specific ABI breakages related to parameter
|
# gcc 7.1 introduced processor-specific ABI breakages related to parameter
|
||||||
# passing on ARM platforms. This generates a large number of messages
|
# 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
|
if (host_machine.cpu_family() == 'arm' and
|
||||||
cc.version().version_compare('>=7.1') and
|
cc.version().version_compare('>=7.1'))
|
||||||
cc.version().version_compare('<9'))
|
|
||||||
cpp_arguments += [
|
cpp_arguments += [
|
||||||
'-Wno-psabi',
|
'-Wno-psabi',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue