From nobody Tue May 21 03:29:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+102206+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102206+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1680206683; cv=none; d=zohomail.com; s=zohoarc; b=RczM6xbxF2cgFDkZ68KNi1LDXMkPpbDtdq2ZCBLQ7LlU2kn9AgWvPNBW6Om4X//Czrc6dCIBPuMZUaz8YGshGDw1/6PSPfHxVSwvNcno/+XLjj1+3icIvtg1Yx2kDLDIPgXv35CoSaQ8z7LJglWs2+hxqKTP4WlqGhu5QYtfT+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680206683; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=WDBID08Q/OeFForwd9T+cPcoOO5etDjLTDK4ywz6d90=; b=RS1sPp/IhGIN5eG5sC7YsOBvS+I0gO+R3biKCOsgkHvGcjg9tiHpu05b/2YRVkf91HsliAmCeOm2dLzaIsq9jBhtHla0qUKOZBOrWj7TSXBoHGNfdbLUBkfAlIOSbCHpT4GZr8dcsaMPdj+pMo3eCYtpmvCCq+7jy+TBOQDMw30= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102206+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1680206683476293.763087802452; Thu, 30 Mar 2023 13:04:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id SKUCYY1788612xub4nAytWuC; Thu, 30 Mar 2023 13:04:43 -0700 X-Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mx.groups.io with SMTP id smtpd.web11.37287.1680206682316767346 for ; Thu, 30 Mar 2023 13:04:42 -0700 X-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 40081320092D; Thu, 30 Mar 2023 16:04:41 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 30 Mar 2023 16:04:41 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehledgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Mar 2023 16:04:39 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Bret Barkelew , Sean Brogan , Chris Fernald , Bob Feng , Michael Kubacki , Oliver Steffen , Liming Gao Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-basetools 1/1] Change BUILD_CFLAGS to CFLAGS to match edk2 BaseTools change Date: Thu, 30 Mar 2023 14:04:33 -0600 Message-Id: <20230330200433.1169365-2-rebecca@bsdio.com> In-Reply-To: <20230330200433.1169365-1-rebecca@bsdio.com> References: <20230330200433.1169365-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: 5hp3PR8sIRUXw0Hh0aYGmxmOx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1680206683; bh=1W028Znn5Bxa5FOVSe6t8g3HI05VusXOGNdClFtMk38=; h=Cc:Date:From:Reply-To:Subject:To; b=rvXdUlALJROqHPpRNX91xf0PXvC7XpdENnt0NIMDxeQ71I423wivHoNH4+XLyfENRHt SnQ8fGDkMk42bMbJqtuyqUjLPscpwN+7p2O/x+Fcf47bU9/SYJyE5BlJJUI9xOieeCNd5 /UHYQYVzZrJFeZ/xyOIffsAOllA3kK5qKhs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1680206685230100006 Content-Type: text/plain; charset="utf-8" In order to support building BaseTools using non-default compilers, a change is being made in the edk2 BaseTools directory to remove the 'BUILD_' prefix to CC, CXX, CFLAGS etc. so developers can for example run 'make CC=3Dclang CXX=3Dclang++' to build using clang. Update DscBuildData.py to generate Makefiles with CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Rebecca Cran --- edk2basetools/Workspace/DscBuildData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edk2basetools/Workspace/DscBuildData.py b/edk2basetools/Worksp= ace/DscBuildData.py index ff5662f35702..38a5283389f9 100644 --- a/edk2basetools/Workspace/DscBuildData.py +++ b/edk2basetools/Workspace/DscBuildData.py @@ -89,7 +89,7 @@ def _IsFieldValueAnArray (Value): ''' =20 WindowsCFLAGS =3D 'CFLAGS =3D $(CFLAGS) /wd4200 /wd4034 /wd4101 ' -LinuxCFLAGS =3D 'BUILD_CFLAGS +=3D -Wno-pointer-to-int-cast -Wno-unused-va= riable ' +LinuxCFLAGS =3D 'CFLAGS +=3D -Wno-pointer-to-int-cast -Wno-unused-variable= ' PcdMakefileEnd =3D ''' !INCLUDE $(BASE_TOOLS_PATH)\Source\C\Makefiles\ms.common !INCLUDE $(BASE_TOOLS_PATH)\Source\C\Makefiles\ms.app --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102206): https://edk2.groups.io/g/devel/message/102206 Mute This Topic: https://groups.io/mt/97959298/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-