]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Omap35xxPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 25 Oct 2016 17:09:35 +0000 (18:09 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Oct 2016 07:55:16 +0000 (08:55 +0100)
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>
Omap35xxPkg/Omap35xxPkg.dsc

index 0ec4b5d6c86063f56062f691d73ff4e2713da1ed..580be4d6340c521e5c5555478eb152424ae85b5a 100644 (file)
@@ -96,6 +96,7 @@
   RVCT:*_*_ARM_ARCHCC_FLAGS     == --cpu 7-A\r
   RVCT:*_*_ARM_ARCHASM_FLAGS    == --cpu 7-A\r
 \r
+  *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
 \r
 ################################################################################\r
 #\r