From patchwork Mon Oct 24 17:41:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 79025 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2703342qge; Mon, 24 Oct 2016 10:42:32 -0700 (PDT) X-Received: by 10.99.136.194 with SMTP id l185mr5846249pgd.106.1477330952477; Mon, 24 Oct 2016 10:42:32 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id wp6si13740079pab.294.2016.10.24.10.42.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 10:42:32 -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 C3A0C1A1EC4; Mon, 24 Oct 2016 10:42:25 -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 837F21A1ED5 for ; Mon, 24 Oct 2016 10:42:22 -0700 (PDT) Received: by mail-wm0-x230.google.com with SMTP id f193so135899803wmg.0 for ; Mon, 24 Oct 2016 10:42:22 -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=gpB/l0RevXhwqH5YZTaE03BbuZ0RBEM5H1LLhw/p2Uw=; b=TXZpzLhs60V1WZON769BQUTsIcepzYVOfp5zracMVnvSdRBO4uHgishWt4tWmuQvzh ob/5NlHTeehdI9h0kaH0lFMrsEZJT5P5SHONFBdyeVc4O5AyZF8bwwbHGy4PxXBiJFDK XnjCpqYKU6L4XxvvQxoXBBWbKBAnAZ6lh2SKs= 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=gpB/l0RevXhwqH5YZTaE03BbuZ0RBEM5H1LLhw/p2Uw=; b=YSYZh/+XSFmoulcTBp7S3BdC/0IYsy/P/scb7O/UlZVYGyE3BvLevvXuORnVbIfoDU RiSZG5OqGBJbvLJL2v5oKQqr0ifjB0QM6k75N+YDSrebmkgkqyh8VRShm8y+eB0ADe8R gDs87Xi7UIjpUNWIpeJPsMd202Ep1nYd3ph/Jw3ONy5RL5/cknfAacYHbU8yN2vCdcIP ecJyJkNLDhmnJ6L3QYDS9nM+o800P2niqtDR87f0+4g7oYXRI5S7CXrCaEzbc9eGp92A KH6xZOtDYOqJu4NfO1g+s6T7N4ccfCTzkmm/pOXOSEYTQ/PIJa5fMaYOqqZvmZvnbv3d 0cWA== X-Gm-Message-State: ABUngvfgrd4vbRnklb9JEAoZcH82yKA8vkv9LTaEI/+pd1mBJT4wU1/UKf6IQdYDh6nYe1GQ X-Received: by 10.194.85.229 with SMTP id k5mr12738608wjz.22.1477330941099; Mon, 24 Oct 2016 10:42:21 -0700 (PDT) Received: from localhost.localdomain ([105.146.229.54]) by smtp.gmail.com with ESMTPSA id 194sm15894873wmj.20.2016.10.24.10.42.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 10:42:20 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, lersek@redhat.com Date: Mon, 24 Oct 2016 18:41:47 +0100 Message-Id: <1477330907-13733-10-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477330907-13733-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477330907-13733-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 9/9] EmbeddedPkg: 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 --- EmbeddedPkg/EmbeddedPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index cc95564f31af..eb7af800f0b2 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -4,6 +4,7 @@ # # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
# Copyright (c) 2012-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 @@ -227,7 +228,7 @@ [PcdsFixedAtBuild.IPF] [BuildOptions] RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security - + *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES ################################################################################ #