commit | 33b255e107b470b8d2ea5bd96d82c613244aaf47 | [log] [tgz] |
---|---|---|
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Thu Mar 05 11:00:28 2020 +0100 |
committer | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Mon Mar 09 09:11:07 2020 +0100 |
tree | 8afb3fa88166e926fd8fc29ae001baa2e0f829f9 | |
parent | 283e815339a15fa99039c69f1e225269790ae955 [diff] [blame] |
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 <mdaenzer@redhat.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4058> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4058>
diff --git a/meson.build b/meson.build index 1484e7f..bf30660 100644 --- a/meson.build +++ b/meson.build
@@ -958,6 +958,7 @@ '-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')