[igt-dev] [PATCH i-g-t 2/2] meson.build: Remove -fcommon flag
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Fri Jan 13 19:25:53 UTC 2023
Ensure global variables are explicitly defined in one place and
requires importing via extern keyword instead of duplicating definition
resolved during linking time.
Details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/meson.build b/meson.build
index bbe1f673e8..7b25627229 100644
--- a/meson.build
+++ b/meson.build
@@ -70,7 +70,6 @@ cc_args = [
# well with longjmp which is heavily used by IGT framework.
'-fno-builtin-malloc',
'-fno-builtin-calloc',
- '-fcommon',
]
foreach cc_arg : cc_args
--
2.34.1
More information about the igt-dev
mailing list