From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 68E7710E2A5 for ; Mon, 16 Jan 2023 09:34:03 +0000 (UTC) Date: Mon, 16 Jan 2023 11:30:50 +0200 From: Petri Latvala To: Zbigniew =?utf-8?Q?Kempczy=C5=84ski?= Message-ID: References: <20230113192553.89460-1-zbigniew.kempczynski@intel.com> <20230113192553.89460-3-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230113192553.89460-3-zbigniew.kempczynski@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 2/2] meson.build: Remove -fcommon flag List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Fri, Jan 13, 2023 at 08:25:53PM +0100, Zbigniew Kempczyński wrote: > 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 Reviewed-by: Petri Latvala > --- > 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 >