From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: Ard Biesheuvel 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: [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: , X-List-Received-Date: Mon, 24 Oct 2016 17:42:22 -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 --- EmbeddedPkg/EmbeddedPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ################################################################################ # -- 2.7.4