[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1395503447-17003-1-git-send-email-behanw@converseincode.com>
Date: Sat, 22 Mar 2014 08:50:47 -0700
From: behanw@...verseincode.com
To: mmarek@...e.cz
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
dwmw2@...radead.org, pageexec@...email.hu,
Behan Webster <behanw@...verseincode.com>
Subject: [PATCH] LLVMLinux: Change DWARF flag to support gcc and clang
From: Behan Webster <behanw@...verseincode.com>
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 <behanw@...verseincode.com>
---
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
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists