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:21 -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:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,415,1559545200"; d="scan'208";a="183783378" Received: from shenglei-mobl.ccr.corp.intel.com ([10.239.196.112]) by orsmga006.jf.intel.com with ESMTP; 22 Aug 2019 00:08:19 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael Kubacki , Chasel Chiu , Nate DeSimone , Liming Gao , Shenglei Zhang Subject: [edk2-platforms PATCH 3/4] Platform/MinPlatformPkg.dsc: Add build option Date: Thu, 22 Aug 2019 15:08:07 +0800 Message-Id: <20190822070808.6600-4-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: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Signed-off-by: Shenglei Zhang --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc index 8a3638b7..9bbb7963 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc @@ -187,3 +187,6 @@ MinPlatformPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf MinPlatformPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf !endif + +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES \ No newline at end of file -- 2.18.0.windows.1