summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-25 17:33:48 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-28 15:55:53 +0100
commit48dcef945001d66ebd0f63b9edd637ac71e7dc85 (patch)
tree213913e83ca1b98d9e684b4197bc53d9ed5518cf
parent2b18c281fe544f471def56ac69903f4605915523 (diff)
downloadedk2-platforms-48dcef945001d66ebd0f63b9edd637ac71e7dc85.tar.xz
BeagleBoardPkg: 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> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--BeagleBoardPkg/BeagleBoardPkg.dsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc
index 2951c689c7..1e2ecdc21a 100644
--- a/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -220,11 +220,11 @@
[BuildOptions]
XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
-
GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
-
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
+
################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform