projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066c680
)
all: LLVMLinux: Change DWARF flag to support gcc and clang
author
Behan Webster
<behanw@converseincode.com>
Fri, 14 Feb 2014 23:19:17 +0000
(15:19 -0800)
committer
Behan Webster
<behanw@converseincode.com>
Sat, 7 Jun 2014 18:44:39 +0000
(11:44 -0700)
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>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
cdaa5b6
..
cd64f66
100644
(file)
--- 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