public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/y2038] nss: Use LFS and 64 bit time_t for installed programs
@ 2021-03-04 17:40 Adhemerval Zanella
  0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2021-03-04 17:40 UTC (permalink / raw)
  To: glibc-cvs

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

commit 5efa807edfcf2e395c1127ee79fd90b57b464f87
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Mar 2 17:18:41 2021 -0300

    nss: Use LFS and 64 bit time_t for installed programs
    
    It is enabled for getend and makedb.

Diff:
---
 nss/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/nss/Makefile b/nss/Makefile
index 0906202db9..eb1b604b0c 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -45,7 +45,8 @@ have-sunrpc		:= 1
 else
 have-sunrpc		:= 0
 endif
-CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc)
+CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc) \
+			  -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
 
 others                  := getent makedb
 install-bin             := getent makedb
@@ -148,6 +149,14 @@ $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
 
 
 $(objpfx)makedb: $(makedb-modules:%=$(objpfx)%.o)
+include $(o-iterator)
+define o-iterator-doit
+$(foreach f,$(makedb-modules),$(objpfx)$(f)$(o)): CFLAGS += -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
+endef
+object-suffixes-left := $(all-object-suffixes)
+include $(o-iterator)
+
+
 
 $(inst_vardbdir)/Makefile: db-Makefile $(+force)
 	$(do-install)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/azanella/y2038] nss: Use LFS and 64 bit time_t for installed programs
@ 2021-03-05 19:22 Adhemerval Zanella
  0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2021-03-05 19:22 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3f66717ed7f8ea3d0b23248c9b0c1b3f541f47c4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Mar 2 17:18:41 2021 -0300

    nss: Use LFS and 64 bit time_t for installed programs
    
    It is enabled for getend and makedb.

Diff:
---
 nss/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/nss/Makefile b/nss/Makefile
index 0906202db9..eb1b604b0c 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -45,7 +45,8 @@ have-sunrpc		:= 1
 else
 have-sunrpc		:= 0
 endif
-CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc)
+CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc) \
+			  -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
 
 others                  := getent makedb
 install-bin             := getent makedb
@@ -148,6 +149,14 @@ $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
 
 
 $(objpfx)makedb: $(makedb-modules:%=$(objpfx)%.o)
+include $(o-iterator)
+define o-iterator-doit
+$(foreach f,$(makedb-modules),$(objpfx)$(f)$(o)): CFLAGS += -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
+endef
+object-suffixes-left := $(all-object-suffixes)
+include $(o-iterator)
+
+
 
 $(inst_vardbdir)/Makefile: db-Makefile $(+force)
 	$(do-install)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/azanella/y2038] nss: Use LFS and 64 bit time_t for installed programs
@ 2021-03-04 11:33 Adhemerval Zanella
  0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2021-03-04 11:33 UTC (permalink / raw)
  To: glibc-cvs

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

commit 6e5bafd104106142e0fb903bd40464cafbc3f487
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Mar 2 17:18:41 2021 -0300

    nss: Use LFS and 64 bit time_t for installed programs
    
    It is enabled for getend and makedb.

Diff:
---
 nss/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/nss/Makefile b/nss/Makefile
index 0906202db9..eb1b604b0c 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -45,7 +45,8 @@ have-sunrpc		:= 1
 else
 have-sunrpc		:= 0
 endif
-CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc)
+CPPFLAGS-getent.c	= -DHAVE_SUNRPC=$(have-sunrpc) \
+			  -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
 
 others                  := getent makedb
 install-bin             := getent makedb
@@ -148,6 +149,14 @@ $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
 
 
 $(objpfx)makedb: $(makedb-modules:%=$(objpfx)%.o)
+include $(o-iterator)
+define o-iterator-doit
+$(foreach f,$(makedb-modules),$(objpfx)$(f)$(o)): CFLAGS += -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
+endef
+object-suffixes-left := $(all-object-suffixes)
+include $(o-iterator)
+
+
 
 $(inst_vardbdir)/Makefile: db-Makefile $(+force)
 	$(do-install)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-05 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 17:40 [glibc/azanella/y2038] nss: Use LFS and 64 bit time_t for installed programs Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2021-03-05 19:22 Adhemerval Zanella
2021-03-04 11:33 Adhemerval Zanella

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).