From patchwork Sat Mar 22 15:50:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Behan Webster X-Patchwork-Id: 26897 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7BB84206A6 for ; Sat, 22 Mar 2014 15:51:21 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf19710734ykp.1 for ; Sat, 22 Mar 2014 08:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=D5v/soL+PPEGF522/dciZibQBR3DiAVk/Rb189crGk0=; b=DiYtFSYBpRafBdiUAcusMvsHrP4Vlu1taCPU2LbOuzc3Ayd0mop1i5N6DFYxea9mul K/bWs+JKTLCXp3+yrRxoH/NnsqcoLs4leKzciSe3Jl4IR7B0O2FZoFJ1XcbFP/I4SUrV RUhRI5ciQ0duFBbYIpboNOKQaaE8P2ehFDsdO82cFKQL/c/GhGg1pxMoC7yN70yzknCT mOIJ31kZYBhkMGfUwZ4wwAw/62wgFhgD6JnEb8q1WfASAGtJFIuE6JedsQj6xt//BHQP zkcqufHmfnn9oNvebWzWMsU6yuYoMwOD1e6XfJiMC3BdE4nLI8JMpmOHBxuSTDZWI6vn o2aQ== X-Gm-Message-State: ALoCoQmmk/KDZe0yY08RRYuXGTGMUEdDS2164xqU0iFw1WVo+LgU76u5o7U1ORd+ak6CzUSrn163 X-Received: by 10.58.214.226 with SMTP id od2mr13108656vec.1.1395503480959; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.202 with SMTP id o68ls213974qga.53.gmail; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) X-Received: by 10.52.253.75 with SMTP id zy11mr5320781vdc.10.1395503480841; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [2607:f8b0:400c:c03::236]) by mx.google.com with ESMTPS id d20si1902212veu.205.2014.03.22.08.51.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Mar 2014 08:51:20 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c03::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c03::236; Received: by mail-vc0-f182.google.com with SMTP id ks9so3947030vcb.41 for ; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) X-Received: by 10.220.88.204 with SMTP id b12mr42066702vcm.3.1395503480758; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp104087vck; Sat, 22 Mar 2014 08:51:20 -0700 (PDT) X-Received: by 10.68.198.36 with SMTP id iz4mr59654401pbc.109.1395503479904; Sat, 22 Mar 2014 08:51:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wp10si5777128pbc.60.2014.03.22.08.51.19; Sat, 22 Mar 2014 08:51:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751553AbaCVPvM (ORCPT + 26 others); Sat, 22 Mar 2014 11:51:12 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:63945 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbaCVPvD (ORCPT ); Sat, 22 Mar 2014 11:51:03 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so3634859pbb.36 for ; Sat, 22 Mar 2014 08:51:02 -0700 (PDT) X-Received: by 10.66.25.7 with SMTP id y7mr1222326paf.151.1395503462675; Sat, 22 Mar 2014 08:51:02 -0700 (PDT) Received: from localhost.localdomain ([75.148.49.89]) by mx.google.com with ESMTPSA id pv4sm16320760pbb.55.2014.03.22.08.51.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Mar 2014 08:51:01 -0700 (PDT) From: behanw@converseincode.com To: mmarek@suse.cz Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, dwmw2@infradead.org, pageexec@freemail.hu, Behan Webster Subject: [PATCH] LLVMLinux: Change DWARF flag to support gcc and clang Date: Sat, 22 Mar 2014 08:50:47 -0700 Message-Id: <1395503447-17003-1-git-send-email-behanw@converseincode.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: behanw@converseincode.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c03::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (no key for signature) header.i=@converseincode.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Behan Webster Both gcc (well, actually gnu as) and clang support the "-Wa,-gdwarf-2" option (though clang does not support "-Wa,--gdwarf-2"). Since these flags are equivalent in meaning, this patch uses the one which is better supported across compilers. Signed-off-by: Behan Webster --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef779ec..dc88989 100644 --- a/Makefile +++ b/Makefile @@ -641,7 +641,7 @@ endif ifdef CONFIG_DEBUG_INFO KBUILD_CFLAGS += -g -KBUILD_AFLAGS += -Wa,--gdwarf-2 +KBUILD_AFLAGS += -Wa,-gdwarf-2 endif ifdef CONFIG_DEBUG_INFO_REDUCED