diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2019-01-20 19:15:10 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-01-20 21:15:17 +0000 |
commit | cc71445234fcd4f74b137cdebd10136e882cd289 (patch) | |
tree | 89d896bd2890f598b1d7fd48c63448404e3f18a3 | |
parent | 72d6d78a8f0d24a64911c246487402c81b4beb9d (diff) | |
download | klibc-cc71445234fcd4f74b137cdebd10136e882cd289.tar.gz |
[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@decadent.org.uk>
-rw-r--r-- | scripts/Kbuild.klibc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 5a4b71e7230e4b..c32bc6323e29cf 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 |