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 ml01.01.org (Postfix) with ESMTP id 2B7EB1A1DFB for ; Thu, 4 Aug 2016 20:00:08 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 04 Aug 2016 20:00:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,471,1464678000"; d="scan'208";a="744438207" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 04 Aug 2016 20:00:08 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 20:00:07 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 11:00:00 +0800 From: "Ye, Ting" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Long, Qin" Thread-Topic: [PATCH 17/17] CryptoPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPT1XWa1h0NoUyOKr1pmONQ7qA5rWcA Date: Fri, 5 Aug 2016 02:59:59 +0000 Message-ID: References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-18-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-18-git-send-email-hao.a.wu@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGJlZWY2MzktMzdjYy00ODcwLWJhY2QtNDc5YTRhNzVjZjM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InM0cm1rcUhGcnJmRWNGM1dwd0JYMmJnZ1B4RXUwMDY0bFNSWk5IWWdySEk9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 17/17] CryptoPkg DSC: Add build option to disable deprecated APIs 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: Fri, 05 Aug 2016 03:00:08 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ye Ting =20 -----Original Message----- From: Wu, Hao A=20 Sent: Friday, August 05, 2016 8:53 AM To: edk2-devel@lists.01.org; Gao, Liming Cc: Wu, Hao A ; Long, Qin ; Ye, Tin= g Subject: [PATCH 17/17] CryptoPkg DSC: Add build option to disable deprecate= d APIs Add the following definition in the [BuildOptions] section in package DSC f= iles to disable APIs that are deprecated: [BuildOptions] *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES Cc: Qin Long Cc: Ting Ye Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- CryptoPkg/CryptoPkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc index 5ae0e6= 7..3c3e444 100644 --- a/CryptoPkg/CryptoPkg.dsc +++ b/CryptoPkg/CryptoPkg.dsc @@ -133,3 +133,6 @@ =20 [Components.IPF] CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCr= yptProtocol.inf + +[BuildOptions] + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES -- 1.9.5.msysgit.0