summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2019-06-11 21:10:07 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2019-07-03 16:41:02 +0100
commit182903bd2e8631fcedbcbc9138dcec5ab063471b (patch)
tree4fb19c31ac904c45bdf47b9ec41b2f524940e6cf /Platform
parentdece7b69d2fc3c8c33c5ffaf946a0c0c81309ff8 (diff)
Platform/ARM: Disable deprecated APIs
Add DISABLE_NEW_DEPRECATED_INTERFACES macro to the Arm platform build flags to disable the use of deprecated APIs. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform')
-rw-r--r--Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
index 13f5c6c1..0d543d2a 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2011-2018, ARM Limited. All rights reserved.
+# Copyright (c) 2011-2019, ARM Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -17,6 +17,9 @@
DEFINE NETWORK_TLS_ENABLE = FALSE
DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
+[BuildOptions.common]
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
+
[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000