Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
Makefile
··· 671 671 672 672 ifdef CONFIG_DEBUG_INFO 673 673 KBUILD_CFLAGS += -g 674 - KBUILD_AFLAGS += -Wa,--gdwarf-2 674 + KBUILD_AFLAGS += -Wa,-gdwarf-2 675 675 endif 676 676 677 677 ifdef CONFIG_DEBUG_INFO_REDUCED