From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 3723A81D83 for ; Fri, 28 Oct 2016 03:45:05 -0700 (PDT) Received: by mail-wm0-x232.google.com with SMTP id n67so105697597wme.1 for ; Fri, 28 Oct 2016 03:45:05 -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=jB0hpGuRPoPnhgSku8XbiJS7s2EdOneYo3pb88GYY2ywI3qkEY6KthYvg4sWh4pVUM 6LRc8hsPw8QcU+yoz1bT22vpyFwdC8ALk1k4myiLe85KSkX0C4ylizU2W7+yPoLKpgUS TtKib41An01gBK7z9p8uNfjYiD7FenP+dXDfQ= 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=jZr8sTLljYP+2WXvs7H9xQS8P9pOd0Cok1OpQyZ9hGojddBiQZ7LUmh1hImO9f5srl 0/OSiuBsX2iKMW+OY3+DF5n4NPwDKMKb9CcURJkjFtedgV+etM6FHR1NAGCd2um6HQVg zrZHB68Gn7CF81L3TpMTT0KhbxJFxG8oZP6mjfpXxVQVUfyrCx/Mu+ZCweLkossD0Iwz BppgL8R8gHfnCCcRQprY2HMScbLn1AyRd9CO9of5oCz/2Ivq9gqNsnFjecRFGiQFULIt JUkQGbyCyXwVN56rosfwcCyhAKQovX9uy6fgEXOAINJBOwHC35h7pGyGbu9gXuXssLqi 1jYA== X-Gm-Message-State: ABUngvd2Ci/r7sNgMqgEAugXVAl5N0ZbfgmrnWkUsKy9Glm/LKGt5GrQa9C+UkKH7SDgZjOv X-Received: by 10.194.77.237 with SMTP id v13mr11135841wjw.220.1477651504216; Fri, 28 Oct 2016 03:45:04 -0700 (PDT) Received: from localhost.localdomain ([105.150.227.229]) by smtp.gmail.com with ESMTPSA id 184sm57730wms.4.2016.10.28.03.45.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Oct 2016 03:45:03 -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 11:44:38 +0100 Message-Id: <1477651478-16830-10-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477651478-16830-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477651478-16830-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [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 10:45:05 -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