From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2B9B91A1E73 for ; Mon, 24 Oct 2016 09:07:10 -0700 (PDT) Received: by mail-wm0-x22d.google.com with SMTP id b80so112353932wme.1 for ; Mon, 24 Oct 2016 09:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PH5ld8jDE9/nvzSXOiYkARMq6F0xEVKl9+O3zsHZkdI=; b=VSp5EGtld5/FXujgdygjc9oH2qT5LlchywZQBHbrhbMe4Xpq53TLKZWB+ylfLNNdiO dIEGQUAJtK1tm+G1bc1Yd8jlNF5I74YhSwhGerkCbZ6mmv2u4aAy0ap8TmZs+Nl/n17y +pCUnqIWS5Ff63asL4Oi4pQASidBYaZNGf298= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PH5ld8jDE9/nvzSXOiYkARMq6F0xEVKl9+O3zsHZkdI=; b=MPV4uMK7ntqr43Rw1ND9c9ZL53EWrfGSsLymCCBXFdGhcAt7TlFVdkW4ghhcw4nn+c JB+qjsT4Z+A1Uo67NOqludin7N/40hNxfT5H1izDmFeDS1mNWHPtNrtBcmS/6yyocfnO 3k5grNaKspAWkhKT2THEKnw7KyOUpTIcVV9FqpJa6AeY6DVbu/k5bYrBuWJXNMyeQhE+ bUBh5xl+8ZAA/o0H5TRnLblHEKYo/HerO7A0xn7rEBAV4bCiyVCskmfJByw833mMEigq iSl7Aa5H8lE4J4ttB0vgfLvwdr4COQTBvhVtYJqCyDBwl5liNKdqe61D3fo3CeohpR73 qTfw== X-Gm-Message-State: AA6/9Rn054SUUgs+pNaWLr0NB4ixZAtNgY+yiWlWwvq+zvCo2bDa0GRVSSlPK5JcfKwwL8+W X-Received: by 10.28.5.207 with SMTP id 198mr24717700wmf.22.1477325228750; Mon, 24 Oct 2016 09:07:08 -0700 (PDT) Received: from localhost.localdomain ([105.146.229.54]) by smtp.gmail.com with ESMTPSA id h3sm20055144wjp.45.2016.10.24.09.07.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 09:07:08 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, lersek@redhat.com Cc: Ard Biesheuvel Date: Mon, 24 Oct 2016 17:06:46 +0100 Message-Id: <1477325206-24646-7-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477325206-24646-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477325206-24646-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [PATCH 6/6] ArmPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 16:07:10 -0000 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 --- ArmPkg/ArmPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 9bb1263a7f96..cd44ec166703 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -3,6 +3,7 @@ # # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
# Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.
+# Copyright (c) 2016, Linaro Ltd. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -36,6 +37,7 @@ [BuildOptions] 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 -- 2.7.4