From patchwork Tue May 10 13:56:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 67451 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp2142184qge; Tue, 10 May 2016 06:56:35 -0700 (PDT) X-Received: by 10.98.40.138 with SMTP id o132mr12206581pfo.98.1462888595613; Tue, 10 May 2016 06:56:35 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id p21si2930684pfj.140.2016.05.10.06.56.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 May 2016 06:56:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 987381A1EF6; Tue, 10 May 2016 06:56:17 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 D92D31A1E5D for ; Tue, 10 May 2016 06:56:15 -0700 (PDT) Received: by mail-wm0-x234.google.com with SMTP id v200so27594043wmv.1 for ; Tue, 10 May 2016 06:56:15 -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; bh=L9/s5HPaULLzGzPvJXasFrQ/41Rl+WOk5wmAvCCxcdc=; b=aZvtTV+XY0Y53wRMCd5bxejnBi74anveAwpjl7COZQ3TJxZGzh6Sr9Y2JwiMnsvhZM 9hnUp3d7SVIBNNYYh9Eq60o8VhKWAM6sf13NBIRzd1W4anqGXOXO/rjZ/2rvhG+p9S8O ldKSsRbxJLOm909o20mCIA5I3PC1Mxl3hhriI= 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; bh=L9/s5HPaULLzGzPvJXasFrQ/41Rl+WOk5wmAvCCxcdc=; b=dMpG2Grz+Xw+y/ow1ojgRX6UEZZ3nEO2HDoY8Od5nMxfEbuXHQoP3QFMMLhHYQgMOX H+zTq8ckf+tNzCfY3w3crNKfN1kJwU72u9yH9O45nng9bVoD9eavYmVMVSxke8QuvdMW D9IWqVF1PZIqdvwJdbF/r8BsVUHayz3ZT78Tv7GJc6lNH8jh39FTN/zQ49OaFUsM1Hwq 6i7D5H3ul3pdc6gXjde80igD/Jl3Tl0I2WfqpwnLqt67N7Vb0sW98efuNxa2JI3svost C3r0zh48YXLWijr3oMrbgvxjiLCxyuXqTntPVDl7moaqGWopmyI8JEivJWyZFjuN4D8L 74cg== X-Gm-Message-State: AOPr4FW8O6BnOKxm0hI+Cd7s9dmigJgy6FX49ygTqYhaQyigzldQlo55bwWtjjw/jaFY/tKt X-Received: by 10.28.48.203 with SMTP id w194mr18170434wmw.67.1462888574150; Tue, 10 May 2016 06:56:14 -0700 (PDT) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id a207sm3139426wma.8.2016.05.10.06.56.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 May 2016 06:56:13 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 10 May 2016 15:56:08 +0200 Message-Id: <1462888568-30619-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH] BaseTools AARCH64/ARM: remove -save-temps GCC option X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Recent CLANG version choke on the -save-temps options. Of course, this is not GCC's fault, but since it seems we don't need this option, just remove it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- BaseTools/Conf/tools_def.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 2065fa34998f..616a27871978 100644 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -4323,8 +4323,8 @@ DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing - DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency -DEFINE GCC_ARM_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -mabi=aapcs -fno-short-enums -save-temps -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=soft -DEFINE GCC_AARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -fno-short-enums -save-temps -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-builtin -Wno-address -fno-asynchronous-unwind-tables +DEFINE GCC_ARM_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -mabi=aapcs -fno-short-enums -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=soft +DEFINE GCC_AARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-builtin -Wno-address -fno-asynchronous-unwind-tables DEFINE GCC_AARCH64_CC_XIPFLAGS = -mstrict-align DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie DEFINE GCC_DLINK2_FLAGS_COMMON = --script=$(EDK_TOOLS_PATH)/Scripts/GccBase.lds