From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id E345C10EAB0 for ; Fri, 13 Jan 2023 19:26:09 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Fri, 13 Jan 2023 20:25:53 +0100 Message-Id: <20230113192553.89460-3-zbigniew.kempczynski@intel.com> In-Reply-To: <20230113192553.89460-1-zbigniew.kempczynski@intel.com> References: <20230113192553.89460-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 2/2] meson.build: Remove -fcommon flag List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petri Latvala Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: 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 Cc: Petri Latvala Cc: Kamil Konieczny --- 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