aboutsummaryrefslogtreecommitdiff
path: root/posix/confstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/confstr.c')
-rw-r--r--posix/confstr.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/posix/confstr.c b/posix/confstr.c
index 98bdc65d0b..c8d4d73143 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -45,6 +45,14 @@ confstr (name, buf, len)
break;
case _CS_LFS_CFLAGS:
+ /* Signal that we want the new ABI. */
+ {
+ static const char file_offset[] = "-D_FILE_OFFSET_SIZE=64";
+ string = file_offset;
+ string_len = sizeof (file_offset);
+ }
+ break;
+
case _CS_LFS_LINTFLAGS:
case _CS_LFS_LDFLAGS:
case _CS_LFS_LIBS:
@@ -52,7 +60,7 @@ confstr (name, buf, len)
case _CS_LFS64_LINTFLAGS:
case _CS_LFS64_LDFLAGS:
case _CS_LFS64_LIBS:
- /* GNU libc does not require special actions to use LFS. */
+ /* GNU libc does not require special actions to use LFS functions. */
string = "";
string_len = 1;
break;