diff options
| author | Diego Sueiro <diego.sueiro@arm.com> | 2021-05-06 16:37:47 +0100 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-05-06 16:40:28 -0400 |
| commit | e99974aa57ec9aa4f51817346ddc744bd9f61eca (patch) | |
| tree | a5dedd161ba43a968c33448aaad06ca510b0de9b /recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch | |
| parent | dda5ae36b44c61e61439341ea3153e6be5cb015e (diff) | |
| download | meta-virtualization-e99974aa57ec9aa4f51817346ddc744bd9f61eca.tar.gz | |
xen-tools: Pass -Wno-vla-parameter to workaround when compiling with gcc-11
When compiling xen-tools (4.14 and 4.15) with gcc-11 the following kind of
errors are produced:
linux.c:164:50: error: argument 7 of type 'const xen_pfn_t[]' {aka 'const long unsigned int[]'} declared as an ordinary array [-Werror=vla-parameter]
164 | const xen_pfn_t arr[/*num*/], int err[/*num*/])
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Workaround it by passing -Wno-vla-parameter to the compiler.
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python3-newrelic/0001-setup.py-tweak-setuptools_scm-version-dependency.patch')
0 files changed, 0 insertions, 0 deletions
