From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2BCC081B24 for ; Mon, 9 Jan 2017 21:06:16 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP; 09 Jan 2017 21:06:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,342,1477983600"; d="scan'208";a="52013117" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 09 Jan 2017 21:06:15 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 Jan 2017 21:06:15 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Tue, 10 Jan 2017 13:06:12 +0800 From: "Gao, Liming" To: "Ma, Maurice" , "edk2-devel@lists.01.org" CC: "Agyeman, Prince" Thread-Topic: [edk2] [PATCH 1/1] CorebootPayloadPkg: Remove improper build flags in DSC file Thread-Index: AQHSavI/6ZZNLXnrYkenNgins+narKExKJpA Date: Tue, 10 Jan 2017 05:06:11 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6CB709@shsmsx102.ccr.corp.intel.com> References: <1b538262c95e26b1daa0345f947b88172439f666.1484019131.git.maurice.ma@intel.com> In-Reply-To: <1b538262c95e26b1daa0345f947b88172439f666.1484019131.git.maurice.ma@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 1/1] CorebootPayloadPkg: Remove improper build flags in DSC file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2017 05:06:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Maurice Ma >Sent: Tuesday, January 10, 2017 11:33 AM >To: edk2-devel@lists.01.org >Cc: Agyeman, Prince >Subject: [edk2] [PATCH 1/1] CorebootPayloadPkg: Remove improper build >flags in DSC file > >Current CorebootPayloadPkgIa32X64.dsc contains "-flto" flag to >request GCC link time optimization. However, this feature is >only supported by newer GCC compiler, and it will break the >debug build with GCC4.8. To fix it, the extra compiling flags >are removed. It allows the default build flags set by the EDKII >build environment to be used. > >With this fix, CorebootPayloadPkg 64bit debug build can pass >using GCC 4.8. > >Cc: Prince Agyeman >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Maurice Ma >--- > CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc >b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc >index c35f261d67be..6b16af63ba89 100644 >--- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc >+++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc >@@ -89,8 +89,6 @@ > > [BuildOptions] > *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES >- GCC:DEBUG_*_*_CC_FLAGS =3D -Og -flto >- GCC:DEBUG_*_*_DLINK_FLAGS =3D -flto > GCC:*_UNIXGCC_*_CC_FLAGS =3D -DMDEPKG_NDEBUG > GCC:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG > INTEL:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG >-- >2.11.0.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel