From: Ard Biesheuvel Date: Tue, 25 Oct 2016 17:09:35 +0000 (+0100) Subject: Omap35xxPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES X-Git-Tag: edk2-stable201903~5508 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a125281d6aed47ed731f1950939400f7aa17863d Omap35xxPkg: 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/Omap35xxPkg/Omap35xxPkg.dsc b/Omap35xxPkg/Omap35xxPkg.dsc index 0ec4b5d6c8..580be4d634 100644 --- a/Omap35xxPkg/Omap35xxPkg.dsc +++ b/Omap35xxPkg/Omap35xxPkg.dsc @@ -96,6 +96,7 @@ RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A + *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES ################################################################################ #