From patchwork Wed Oct 26 08:17:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 79360 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp284320qge; Wed, 26 Oct 2016 01:18:07 -0700 (PDT) X-Received: by 10.99.254.5 with SMTP id p5mr1610202pgh.124.1477469886969; Wed, 26 Oct 2016 01:18:06 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e5si1351122pgg.122.2016.10.26.01.18.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 01:18:06 -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 9BEF31A1E9B; Wed, 26 Oct 2016 01:18:05 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 2F05B1A1E9B for ; Wed, 26 Oct 2016 01:18:04 -0700 (PDT) Received: by mail-wm0-x230.google.com with SMTP id b80so210307165wme.1 for ; Wed, 26 Oct 2016 01:18:04 -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=+64vfDwF91+aO/bn++WMJMmMGxyiuK90spDrPhamtyc=; b=Hrz4TpQkrH7aC37GKkjKEicZDgU68azMo2PWXOl7YIlw2viprb7apYIoF7/mYlFVBE wFqA9GSr2VNpocKmYU9jMAEvxEJAHbH5Jw/rRdig/NFceQDO1V4GCEOWNWIHSTek3wKS QF4aobRdSv4grHZHhyJWQcB7U2kvL/BPHHHLo= 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=+64vfDwF91+aO/bn++WMJMmMGxyiuK90spDrPhamtyc=; b=OVnXVEy5UcXBDOK8+ER2RBEk7/CtYCVlabhVW6yVGmtwq79pncat/3HbDDf2Lp4a9D R0TWbwxshc5NYrkv+oOoBM93ZqhcDA8+aXNInYZ+Ls5L/drMyK4u3rCjWFzA4xtGP4cF TVMLVbaOty6uUbfFLemO0XJLqdwTmDgRamqcBUNazweGslV5G3Xpl8EZ49583qy6HgBd uCXbgYVpgqbeNqCHbGCBmP1dEy4SD+YzMLxQLAFPxBWJ2GgT8hqsgsoxiZpM9A+783nV pqbRQzQ4e+mItXn9bCOgN9ThkvGvjCnG80WNq9JFfRx83dDVhf8cTSdCbptpigEX505H mPVQ== X-Gm-Message-State: ABUngvegmkGUYa4g7A61Z78v49sTIW7fShgRaM9n6CCZX/xbEfpk2KsNf1hU5qUjLCSvyaMJ X-Received: by 10.28.141.72 with SMTP id p69mr1451946wmd.66.1477469881069; Wed, 26 Oct 2016 01:18:01 -0700 (PDT) Received: from localhost.localdomain ([105.150.227.229]) by smtp.gmail.com with ESMTPSA id y2sm1166640wjx.20.2016.10.26.01.17.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 01:18:00 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 26 Oct 2016 09:17:42 +0100 Message-Id: <1477469862-10046-7-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477469862-10046-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477469862-10046-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 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: ryan.harkin@linaro.org, lersek@redhat.com, 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 Acked-by: Laszlo Ersek --- 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 diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 8b2bfa2338f0..64bc799b8e56 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