[-mm patch] AFLAGS: fix the -g setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's -gdwarf-2, not -gdwarf2. With this fix it can actually work.

And since even gcc 3.2 supports -gdwarf-2 there's no reason for checking 
with as-option.

Signed-off-by: Adrian Bunk <[email protected]>

---
6ab1091b06e762635430b452f82a474890bda230 
diff --git a/Makefile b/Makefile
index 5b0d58c..accfdc4 100644
--- a/Makefile
+++ b/Makefile
@@ -504,7 +504,7 @@ endif
 
 ifdef CONFIG_DEBUG_INFO
 CFLAGS		+= -g
-AFLAGS		+= $(call as-option, -gdwarf2)
+AFLAGS		+= -gdwarf-2
 endif
 
 # Force gcc to behave correct even for buggy distributions

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux