From patchwork Mon Oct 24 16:06:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 78993 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2658703qge; Mon, 24 Oct 2016 09:07:18 -0700 (PDT) X-Received: by 10.98.11.21 with SMTP id t21mr30133346pfi.131.1477325238778; Mon, 24 Oct 2016 09:07:18 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id w135si11546851pff.212.2016.10.24.09.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 09:07:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2C73A1A1EC4; Mon, 24 Oct 2016 09:07:12 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 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: [edk2] [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: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Acked-by: Laszlo Ersek 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