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: 3877691 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DC7AD9F334 for ; Sat, 22 Mar 2014 15:51:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0164820303 for ; Sat, 22 Mar 2014 15:51:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31908202FF for ; Sat, 22 Mar 2014 15:51:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751272AbaCVPvF (ORCPT ); Sat, 22 Mar 2014 11:51:05 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:33132 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbaCVPvD (ORCPT ); Sat, 22 Mar 2014 11:51:03 -0400 Received: by mail-pb0-f54.google.com with SMTP id ma3so3632939pbc.41 for ; Sat, 22 Mar 2014 08:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=converseincode.com; s=google; h=from:to:cc:subject:date:message-id; bh=G51Ed8GfxX9lDbCDU8dt/3xBGRSfNpwRTCt+tvcg//A=; b=MuVJARuqt3HXQQzMt4ykkp/ARvqd5agNasb4mwivBtS6iK+9M7Ww4yFsl3/OUvdcgx 7vIhISVX03iidDWGrL7Au4WxyqlSoQVzFB58ZSIf4hkegCDEEP9Lhlpj6ImoectBCx9t jdagRDn6Mn39z75gOvgqh44ngmm8qHwoyvGX0= 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=G51Ed8GfxX9lDbCDU8dt/3xBGRSfNpwRTCt+tvcg//A=; b=R31dep1npeETkoep8xcCxayl9hKk3GC1oalr9+DWvQJnIstvIvwBQdAng5hBKhIVls AqNtMMqZRZE0tLRzQ8i2E/H/4OknGsbBJmTiyXtzY1jIdK8nAeYlMquBaW6h211yqsY9 gF1F3bsou7yvgwUrbfMT298jT0pJIZVR62j3RIdozrt5RYCcfZsbZuNbWwH87gF3/bTs cEv+kfg58QeZxAI+5WZmOivy9L5M3nQbLzlwkO72FDEtD/+m4mOdlGOG1wJ3Ayv7MzpK hUsjMwk4nml3KIz9UJUyzbN3+HjgQE1FtRusprjIj+Px9WETcWAa+H68TMLP54OcwCOs r7XQ== X-Gm-Message-State: ALoCoQkC/rgjK/Y8VVdUhYX4i+J5dxFyqC7pLf84V5ExTlD3F72CnRyhp8EhVQiJFcgprPHrAYRz 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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