From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: shenglei.zhang@intel.com) Received: from mga02.intel.com (mga02.intel.com []) by groups.io with SMTP; Thu, 22 Aug 2019 00:08:16 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2019 00:08:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,415,1559545200"; d="scan'208";a="183783346" Received: from shenglei-mobl.ccr.corp.intel.com ([10.239.196.112]) by orsmga006.jf.intel.com with ESMTP; 22 Aug 2019 00:08:14 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael Kubacki , Sai Chaganty , Liming Gao , Shenglei Zhang Subject: [edk2-platforms PATCH 1/4] Platform/AdvancedFeaturePkg.dsc: Add build option Date: Thu, 22 Aug 2019 15:08:05 +0800 Message-Id: <20190822070808.6600-2-shenglei.zhang@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20190822070808.6600-1-shenglei.zhang@intel.com> References: <20190822070808.6600-1-shenglei.zhang@intel.com> Add the build option "/D DISABLE_NEW_DEPRECATED_INTERFACES" in DSC file to make sure that the deprecated APIs will not be used in our code. https://bugzilla.tianocore.org/show_bug.cgi?id=2111 Cc: Michael Kubacki Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Shenglei Zhang --- Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc b/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc index ea1a0072..57f28b8c 100644 --- a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc +++ b/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc @@ -148,3 +148,6 @@ AdvancedFeaturePkg/Ipmi/IpmiFru/IpmiFru.inf AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.inf AdvancedFeaturePkg/Ipmi/BmcAcpi/BmcAcpi.inf + +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES \ No newline at end of file -- 2.18.0.windows.1