summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-02-26 18:28:19 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-03 18:22:47 +0100
commita82ba03b6ff449bdfdae4ad360c2ab59bda09ef4 (patch)
tree588aa0ca5b872329aac95b94246aed57c92e55d2 /extra/Configs
parent41615c3fe7fe4bbcdd83975876e0108a09301f4a (diff)
add UCLIBC_STRICT_HEADERS config option
Add config option to disable the visibility of structures/constants that should not be visible unless a feature is enabled. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index f152a9666..15da168d5 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -657,6 +657,17 @@ config UCLIBC_SUSV4_LEGACY
WARNING! ABI incompatibility.
+config UCLIBC_STRICT_HEADERS
+ bool "Enable structures and constants for unsupported features"
+ default n
+ help
+ Enable structures and constants in headers that should not be used,
+ because the respective feature is disabled.
+
+ WARNING! enabling this option requires to patch many faulty apps,
+ since they make (wrongly) use of these structures/constants,
+ although the feature was disabled.
+
config UCLIBC_HAS_STUBS
bool "Provide stubs for unavailable functionality"
default n