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 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 Cc: lersek@redhat.com, ryan.harkin@linaro.org, Ard Biesheuvel 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: [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: , X-List-Received-Date: Wed, 26 Oct 2016 08:18:04 -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 Acked-by: Laszlo Ersek --- ArmPkg/ArmPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.7.4