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:24 -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:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,415,1559545200"; d="scan'208";a="183783387" Received: from shenglei-mobl.ccr.corp.intel.com ([10.239.196.112]) by orsmga006.jf.intel.com with ESMTP; 22 Aug 2019 00:08:22 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Dandan Bi , Liming Gao , Shenglei Zhang Subject: [edk2-platforms PATCH 4/4] Platform/UserInterfaceFeaturePkg.dsc: Add build option Date: Thu, 22 Aug 2019 15:08:08 +0800 Message-Id: <20190822070808.6600-5-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: Dandan Bi Cc: Liming Gao Signed-off-by: Shenglei Zhang --- .../Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc b/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc index 2c24e43f..95c26766 100644 --- a/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc +++ b/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc @@ -76,3 +76,5 @@ UserInterfaceFeaturePkg/UserAuthentication/UserAuthentication2Dxe.inf UserInterfaceFeaturePkg/UserAuthentication/UserAuthenticationSmm.inf +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES \ No newline at end of file -- 2.18.0.windows.1