klibc-bot for Ben Hutchings
2019-Jan-20  22:51 UTC
[klibc] [klibc:master] Kbuild: Enable full debug information
Commit-ID:  cc71445234fcd4f74b137cdebd10136e882cd289
Gitweb:    
http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cc71445234fcd4f74b137cdebd10136e882cd289
Author:     Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 20 Jan 2019 19:15:10 +0000
Committer:  Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 20 Jan 2019 21:15:17 +0000
[klibc] Kbuild: Enable full debug information
Build all programs with full debug information (-ggdb).  We still
strip it away before installing by default.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
 scripts/Kbuild.klibc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 5a4b71e..c32bc63 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -68,7 +68,8 @@ include $(srctree)/scripts/Kbuild.include
 
 KLIBCREQFLAGS     := $(call cc-option, -fno-stack-protector, ) \
                      $(call cc-option, -fwrapv, ) \
-                     $(call cc-option, -fno-PIE, )
+                     $(call cc-option, -fno-PIE, ) \
+                     -ggdb
 KLIBCARCHREQFLAGS : KLIBCOPTFLAGS     : KLIBCWARNFLAGS    := -W -Wall
-Wno-sign-compare -Wno-unused-parameter
Apparently Analagous Threads
- [kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds
- [klibc:master] Kbuild: add support for clang builds
- [PATCH] kbuild: add -ffreestanding to required flags
- [klibc:master] Kbuild: Add a per-architecture option to disable exectable stacks
- [klibc:master] Kbuild: Add "-fcommon" for clang builds
