diff mbox series

[51/52] posix: Use LFS and 64 bit time_t for installed programs

Message ID 20210305201518.798584-52-adhemerval.zanella@linaro.org
State New
Headers show
Series Add 64 bit time support on legacy ABIs | expand

Commit Message

Adhemerval Zanella March 5, 2021, 8:15 p.m. UTC
It is enabled for getconf.
---
 posix/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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