Commit 2288328ce9700865245677f35330f3a77dfc6eda

Authored by Behan Webster
1 parent 066c6807f7

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -671,7 +671,7 @@
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