summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2019-03-26 14:59:12 +0000
committerSami Mujawar <sami.mujawar@arm.com>2019-06-11 10:06:42 +0100
commit470626624fa31a1f50b82815dd330deb43e32e52 (patch)
treef1d90968e334945db331d3687bea43808aca6144 /DynamicTablesPkg
parent5d86a5fa769bee9a158ec6e7843b5032a8a23ea3 (diff)
downloadedk2-470626624fa31a1f50b82815dd330deb43e32e52.tar.gz
edk2-470626624fa31a1f50b82815dd330deb43e32e52.tar.bz2
edk2-470626624fa31a1f50b82815dd330deb43e32e52.zip
DynamicTablesPkg: Disable deprecated APIs
Add the DISABLE_NEW_DEPRECATED_INTERFACES macro to the DynamicTablesPkg package build flags to disable deprecated APIs. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r--DynamicTablesPkg/DynamicTablesPkg.dsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/DynamicTablesPkg.dsc
index e92578c952..dfe6c07111 100644
--- a/DynamicTablesPkg/DynamicTablesPkg.dsc
+++ b/DynamicTablesPkg/DynamicTablesPkg.dsc
@@ -2,6 +2,7 @@
# Dsc file for Dynamic Tables Framework.
#
# Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>
+# Copyright (c) 2019, ARM Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -35,3 +36,6 @@
[Components.common]
DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES