diff options
-rw-r--r-- | Config.in | 10 | ||||
-rw-r--r-- | Makefile.flags | 1 |
2 files changed, 11 insertions, 0 deletions
@@ -108,6 +108,16 @@ config LFS | |||
108 | programs that can benefit from large file support include dd, gzip, | 108 | programs that can benefit from large file support include dd, gzip, |
109 | cp, mount, tar. | 109 | cp, mount, tar. |
110 | 110 | ||
111 | config TIME64 | ||
112 | bool "Support 64bit wide time types" | ||
113 | default y | ||
114 | depends on LFS | ||
115 | help | ||
116 | Make times later than 2038 representable for several libc syscalls | ||
117 | (stat, clk_gettime etc.). Note this switch is specific to glibc and has | ||
118 | no effect on platforms that already use 64bit wide time types (i.e. all | ||
119 | 64bit archs and some selected 32bit archs (currently riscv and x32)). | ||
120 | |||
111 | config PAM | 121 | config PAM |
112 | bool "Support PAM (Pluggable Authentication Modules)" | 122 | bool "Support PAM (Pluggable Authentication Modules)" |
113 | default n | 123 | default n |
diff --git a/Makefile.flags b/Makefile.flags index 1cec5ba20..e4cd658fd 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -15,6 +15,7 @@ CPPFLAGS += \ | |||
15 | -include include/autoconf.h \ | 15 | -include include/autoconf.h \ |
16 | -D_GNU_SOURCE -DNDEBUG \ | 16 | -D_GNU_SOURCE -DNDEBUG \ |
17 | $(if $(CONFIG_LFS),-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64) \ | 17 | $(if $(CONFIG_LFS),-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64) \ |
18 | $(if $(CONFIG_TIME64),-D_TIME_BITS=64) \ | ||
18 | -DBB_VER=$(squote)$(quote)$(BB_VER)$(quote)$(squote) | 19 | -DBB_VER=$(squote)$(quote)$(BB_VER)$(quote)$(squote) |
19 | 20 | ||
20 | CFLAGS += $(call cc-option,-Wall,) | 21 | CFLAGS += $(call cc-option,-Wall,) |