From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 CC0AD81D52 for ; Fri, 28 Oct 2016 02:28:35 -0700 (PDT) Received: by mail-wm0-x236.google.com with SMTP id e69so87106265wmg.0 for ; Fri, 28 Oct 2016 02:28:36 -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=42Zg4qknNzUhV1Eeu7Y7NfsPMnJhlbsEqcSiENNFAs4=; b=PpoZKO5YcGyRohv6DYyHMt/Wby/GL37Uu8kDFW0NhdIbbVMMhYxYrfYHRN03TjLH+5 LtDZejDwbYE4dsmfiZdcnztyAi4Ss1T8jAmj3VDB2nkBMM9leVGw8Q48cQHe1t5fxK7y g4TrRjs9FvShdsYm3aEqBoG3IEqeJ65RSx8us= 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=42Zg4qknNzUhV1Eeu7Y7NfsPMnJhlbsEqcSiENNFAs4=; b=QRFtdlFo6RiCteVvR43Ejf/xJvHe8ol8nbkMyy7pbtpw+K6XhKbpuWljXQbnzBKCN0 NRTqrr40vZvoIpkXq11lwz4ERkLAAt2ixmrXHuB0c/aNtZVG8naVm9+MSrKYyUihuFqM clEAaNSDUqFq/ON3i3zbH4vLQZAPQ2lEgtDVtMYHYCWRII3SSp/lBMC6/PLaVMecOuLU WmcJqx7vQEehkT6CGPNw7b8jxY/TohaJEmvraH0C1r76VXM87lNzL2I3fpnQZgH4wpYy tXfoWVSLOrBfFH9CChdR32w6ah6+40fYU9X4oBvcl2ocByDkiZWAb2r8fsk71HP5c74p KqbQ== X-Gm-Message-State: ABUngvd+H8VUdrl3PTWxFYRPa8R0WOBzxaBMffNwAh0WL1ZI4gr+zvq9uSkhmIkGRxC1amql X-Received: by 10.194.120.38 with SMTP id kz6mr10523292wjb.177.1477646914833; Fri, 28 Oct 2016 02:28:34 -0700 (PDT) Received: from localhost.localdomain ([105.150.227.229]) by smtp.gmail.com with ESMTPSA id t129sm5074228wmg.23.2016.10.28.02.28.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Oct 2016 02:28:34 -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: Fri, 28 Oct 2016 10:28:16 +0100 Message-Id: <1477646896-21444-7-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477646896-21444-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477646896-21444-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [PATCH v3 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: Fri, 28 Oct 2016 09:28:36 -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 Tested-by: Ryan Harkin --- 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