public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/azanella/y2038] posix: Use LFS and 64 bit time_t for installed programs
Date: Thu,  4 Mar 2021 11:33:31 +0000 (GMT)	[thread overview]
Message-ID: <20210304113331.10B123AA7C8B@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c3c42e719796935376f05b6b03c175f8d9b8c2bf

commit c3c42e719796935376f05b6b03c175f8d9b8c2bf
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Mar 2 17:19:24 2021 -0300

    posix: Use LFS and 64 bit time_t for installed programs
    
    It is enabled for getconf.

Diff:
---
 posix/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/posix/Makefile b/posix/Makefile
index e246ff1d14..174cb4114c 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -244,7 +244,8 @@ CFLAGS-spawni.c += -fexceptions
 CFLAGS-spawni.os = -fomit-frame-pointer
 CFLAGS-glob.c += $(uses-callbacks) -fexceptions
 CFLAGS-glob64.c += $(uses-callbacks) -fexceptions
-CFLAGS-getconf.c += -DGETCONF_DIR='"$(libexecdir)/getconf"'
+CFLAGS-getconf.c += -DGETCONF_DIR='"$(libexecdir)/getconf"' \
+		    -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
 CFLAGS-execve.os = -fomit-frame-pointer
 CFLAGS-fexecve.os = -fomit-frame-pointer
 CFLAGS-execv.os = -fomit-frame-pointer


             reply	other threads:[~2021-03-04 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 11:33 Adhemerval Zanella [this message]
2021-03-04 17:40 Adhemerval Zanella
2021-03-05 19:22 Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210304113331.10B123AA7C8B@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).