diff --git a/Makefile b/Makefile
index 87d659d3c8de9784703329dfa48afbf7e74b919f..ae1592c1f5d6feb3afdd20c4bd77e2d560c6f4b0 100644
--- a/Makefile
+++ b/Makefile
@@ -828,7 +828,9 @@ else
 DEBUG_CFLAGS	+= -g
 endif
 
+ifneq ($(LLVM_IAS),1)
 KBUILD_AFLAGS	+= -Wa,-gdwarf-2
+endif
 
 ifdef CONFIG_DEBUG_INFO_DWARF4
 DEBUG_CFLAGS	+= -gdwarf-4