From: Ard Biesheuvel Date: Tue, 25 Oct 2016 16:33:48 +0000 (+0100) Subject: BeagleBoardPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES X-Git-Tag: edk2-stable201903~5402 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=48dcef945001d66ebd0f63b9edd637ac71e7dc85 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 Reviewed-by: Leif Lindholm --- 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