summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-02-15 00:19:17 +0100
committerBehan Webster <behanw@converseincode.com>2014-06-07 20:44:39 +0200
commit2288328ce9700865245677f35330f3a77dfc6eda (patch)
treece9a3782581d9c0a4956d2a70ba86d9a91fddd80 /Makefile
parentnet: netfilter: LLVMLinux: vlais-netfilter (diff)
downloadlinux-2288328ce9700865245677f35330f3a77dfc6eda.tar.xz
linux-2288328ce9700865245677f35330f3a77dfc6eda.zip
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 cdaa5b6a1c4d..cd64f66b2a7e 100644
--- a/Makefile
+++ b/Makefile
@@ -671,7 +671,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