summaryrefslogtreecommitdiffstats
path: root/ArmPkg/ArmPkg.dsc
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-24 16:33:32 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-28 12:04:10 +0100
commit5e6676302b6f740dbc3336fa199c05f51a62ee09 (patch)
treefd07e40b31bacb48baf9dc68afa7463431cf01be /ArmPkg/ArmPkg.dsc
parent581b4ab93ff4853221063250fa22812a4121258e (diff)
downloadedk2-5e6676302b6f740dbc3336fa199c05f51a62ee09.tar.gz
edk2-5e6676302b6f740dbc3336fa199c05f51a62ee09.tar.bz2
edk2-5e6676302b6f740dbc3336fa199c05f51a62ee09.zip
ArmPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES
Define DISABLE_NEW_DEPRECATED_INTERFACES on the compiler command line by default, to prevent deprecated interfaces from being used in core EDK2 code. Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=164 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/ArmPkg.dsc')
-rw-r--r--ArmPkg/ArmPkg.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc
index 8b2bfa2338..64bc799b8e 100644
--- a/ArmPkg/ArmPkg.dsc
+++ b/ArmPkg/ArmPkg.dsc
@@ -3,6 +3,7 @@
#
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
# Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.<BR>
+# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -36,6 +37,7 @@
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15
RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
[LibraryClasses.common]
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf