summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2014-09-05 06:34:02 (GMT)
committerYann E. MORIN <yann.morin.1998@free.fr>2014-09-11 21:12:22 (GMT)
commit6bef0b4d240c3664d28638c6502b181860583e58 (patch)
treef2897658a50f46424528f7309c623199d092be83 /config/libc
parent9dd63da071531c3e7ddf96e1e4f0ba01ea0ecf89 (diff)
libc/musl: Add config option for extra developer warnings
This commit adds a configuration knob for enabling extra developer warnings to be enabled during the musl-libc build. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/musl.in.26
1 files changed, 6 insertions, 0 deletions
diff --git a/config/libc/musl.in.2 b/config/libc/musl.in.2
index 5c265c8..f4abcc4 100644
--- a/config/libc/musl.in.2
+++ b/config/libc/musl.in.2
@@ -7,6 +7,12 @@ config LIBC_MUSL_DEBUG
This option enables debugging information, this will increase the size of
the resulting library.
+config LIBC_MUSL_WARNINGS
+ bool
+ prompt "Build with recommended warnings flags"
+ help
+ Build musl-libc with extra warnings, useful for musl-libc development.
+
choice
prompt "How to optimize musl-libc"
default LIBC_MUSL_OPTIMIZE_AUTO