aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-02-14 15:19:17 -0800
committerBehan Webster <behanw@converseincode.com>2014-03-31 00:07:18 -0700
commit6629552d55d2024c9b876204631a8ae9b0a8f1b7 (patch)
treec94050806c93f30c662bdad784175c9bd4ffc621 /Makefile
parent3be2f96972a2d007fcb34914e1dc4b814892380e (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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea878ca91e2..e18739715cf 100644
--- a/Makefile
+++ b/Makefile
@@ -670,7 +670,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