From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 ED8BA81DAF for ; Fri, 28 Oct 2016 07:40:04 -0700 (PDT) Received: by mail-wm0-x22c.google.com with SMTP id n67so118810998wme.1 for ; Fri, 28 Oct 2016 07:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pnZ9gPBREwxpg29AYNupzDZAGk1zWjMa0rj4aRom/5s=; b=Rku9iWEiB3KiV1WIJZdwu/5k3nnyOjWqSayOvuw08FN3JMQmOvo6OHAoS169YTExfb 9N1CjDI0UYFNecrfsQV326lXoZPankvxZbigENRc3P/UniOFMSRJ/tP2dyUpUNVfTYau q9SbUdxbbx5jKYoTd9IN3sZ2dUj1DElK94KK4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pnZ9gPBREwxpg29AYNupzDZAGk1zWjMa0rj4aRom/5s=; b=eqcPRo7QttYc4BPLshVBAje0n9KtG57rk6l71h64GcVq0VIUEcjjw0SLlFJjDvtnZ+ Cx9wK4QWqFfpRzsCNEauaLcyC3Mrg5R3pWu3A6Y0zURBgXDu+lYkk2SJ4m7i5Ovf9geS LZS1Nt1MtnUjpc+OHU001rSj8klUNnPZHECMu/p1FHwAIWYPOMuFWY28ISfnokXmpy4T n79d9JUp7Zy+oAj5Qnw/rvw27BhFyYyAReMHafq7p1luuQXbDXCZlIVYTtv+VKX56VaA 4THEyTcIYyVwbG7PdorHqo3wg/UKS4/gj9FCsf9i1k7YaZkoZ/PAaHk0yI5KNGn7CrRI yhWA== X-Gm-Message-State: ABUngvcvhdHFuuNB1qJcNrxc6P7QNAReXvoODCJSvEaTVPsvmUHAxtbjSN+OaxJrRnwE4UVy X-Received: by 10.28.30.3 with SMTP id e3mr4297824wme.40.1477665604023; Fri, 28 Oct 2016 07:40:04 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id s204sm9292426wmd.1.2016.10.28.07.40.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2016 07:40:03 -0700 (PDT) Date: Fri, 28 Oct 2016 15:40:01 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, lersek@redhat.com, ryan.harkin@linaro.org Message-ID: <20161028144001.GS1161@bivouac.eciton.net> References: <1477651478-16830-1-git-send-email-ard.biesheuvel@linaro.org> <1477651478-16830-10-git-send-email-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <1477651478-16830-10-git-send-email-ard.biesheuvel@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [PATCH v2 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: Fri, 28 Oct 2016 14:40:05 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 28, 2016 at 11:44:38AM +0100, Ard Biesheuvel wrote: > 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 Reviewed-by: Leif Lindholm > --- > 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 >