config/ppc: fix build with GCC >= 10
authorDavid Marchand <david.marchand@redhat.com>
Wed, 15 Sep 2021 05:08:12 +0000 (07:08 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 15 Sep 2021 15:05:44 +0000 (17:05 +0200)
commitdfb1ad1e7a070926c9bd9fdf38e6b944a21f1d49
treea98daccb077715ad4b8f6b40b1c6311b4aa68d40
parent0e837e584e36ea546bc374e9add3573f5615e849
config/ppc: fix build with GCC >= 10

Like for python, multiline statements in meson must either use a
backslash character (explicit continuation) or be enclosed in ()
(implicit continuation).

python PEP8 recommends the latter [1], and it looks like meson had
an issue with backslash before 0.50 [2].

1: https://www.python.org/dev/peps/pep-0008/#multiline-if-statements
2: https://github.com/mesonbuild/meson/commit/90c9b868b20b

Fixes: 394407f50c90 ("config/ppc: ignore GCC 11 psabi warnings")

Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
config/ppc/meson.build