diff options
author | Behan Webster <behanw@converseincode.com> | 2014-02-14 18:19:17 -0500 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-06-07 14:44:39 -0400 |
commit | 2288328ce9700865245677f35330f3a77dfc6eda (patch) | |
tree | ce9a3782581d9c0a4956d2a70ba86d9a91fddd80 /Makefile | |
parent | 066c6807f702555d7af3974bdcdeb1e92a4ce16d (diff) |
all: LLVMLinux: Change DWARF flag to support gcc and clang
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@converseincode.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -671,7 +671,7 @@ endif | |||
671 | 671 | ||
672 | ifdef CONFIG_DEBUG_INFO | 672 | ifdef CONFIG_DEBUG_INFO |
673 | KBUILD_CFLAGS += -g | 673 | KBUILD_CFLAGS += -g |
674 | KBUILD_AFLAGS += -Wa,--gdwarf-2 | 674 | KBUILD_AFLAGS += -Wa,-gdwarf-2 |
675 | endif | 675 | endif |
676 | 676 | ||
677 | ifdef CONFIG_DEBUG_INFO_REDUCED | 677 | ifdef CONFIG_DEBUG_INFO_REDUCED |