[klibc] [klibc:master] Kbuild: Enable full debug information
klibc-bot for Ben Hutchings
ben at decadent.org.uk
Sun Jan 20 14:51:05 PST 2019
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
More information about the klibc
mailing list