summaryrefslogtreecommitdiff
path: root/posix/confstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/confstr.c')
-rw-r--r--posix/confstr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/posix/confstr.c b/posix/confstr.c
index 850130b2a9..98bdc65d0b 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -44,6 +44,19 @@ confstr (name, buf, len)
}
break;
+ case _CS_LFS_CFLAGS:
+ case _CS_LFS_LINTFLAGS:
+ case _CS_LFS_LDFLAGS:
+ case _CS_LFS_LIBS:
+ case _CS_LFS64_CFLAGS:
+ case _CS_LFS64_LINTFLAGS:
+ case _CS_LFS64_LDFLAGS:
+ case _CS_LFS64_LIBS:
+ /* GNU libc does not require special actions to use LFS. */
+ string = "";
+ string_len = 1;
+ break;
+
default:
__set_errno (EINVAL);
return 0;