From: Pierre-Eric Pelloux-Prayer Date: Thu, 5 Mar 2020 10:00:28 +0000 (+0100) Subject: meson: enable -fno-common by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33b255e107b470b8d2ea5bd96d82c613244aaf47;p=mesa.git meson: enable -fno-common by default This flag is enabled by default starting with gcc 10. All the compilation issues have been fixed, so use it by default to make sure we're not introducing regressions. Reviewed-by: Michel Dänzer Tested-by: Marge Bot Part-of: --- diff --git a/meson.build b/meson.build index 1484e7fec5d..bf306605645 100644 --- a/meson.build +++ b/meson.build @@ -958,6 +958,7 @@ else '-fno-math-errno', '-fno-trapping-math', '-Qunused-arguments', + '-fno-common', ] # MinGW chokes on format specifiers and I can't get it all working if not (cc.get_id() == 'gcc' and host_machine.system() == 'windows')