diff options
author | Lyude Paul <lyude@redhat.com> | 2020-03-16 12:11:32 -0400 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2020-03-20 14:25:23 +0200 |
commit | 7d2ad0888018ffa6e0acd460a6fad14c08c92c46 (patch) | |
tree | 221c6089b785368ead731c413bd2422bcf5cfa5a /meson.build | |
parent | 6944f6515a9d2b46b2ec7dfd7bdb5153ea819d63 (diff) |
meson: Add -fcommon to cc_flags
Now that we've fixed a bunch of build breakages on systems where
-fcommon is the default (gcc 10+), let's start building with -fcommon by
default so we can make sure things don't break with this in the future.
Supposedly it's supposed to be able to generate better code anyway!
Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index bcb69e1c..0d7092bd 100644 --- a/meson.build +++ b/meson.build @@ -70,6 +70,7 @@ cc_args = [ # well with longjmp which is heavily used by IGT framework. '-fno-builtin-malloc', '-fno-builtin-calloc', + '-fcommon', ] foreach cc_arg : cc_args |