[PATCH 49/52] locale: Use LFS and 64 bit time_t for installed programs
Adhemerval Zanella
adhemerval.zanella@linaro.org
Fri Mar 5 20:15:15 GMT 2021
It is enabled for locale and localedef.
---
locale/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/locale/Makefile b/locale/Makefile
index b7c60681fa..6d082ac13c 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -81,6 +81,15 @@ $(objpfx)localedef: $(localedef-aux:%=$(objpfx)%.o)
$(objpfx)locale: $(locale-modules:%=$(objpfx)%.o)
$(objpfx)localedef $(objpfx)locale: $(lib-modules:%=$(objpfx)%.o)
+include $(o-iterator)
+define o-iterator-doit
+$(foreach f,$(localedef-modules) $(localedef-aux) $(locale-modules) \
+ $(lib-modules),$(objpfx)$(f)$(o)): CFLAGS += -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
+endef
+object-suffixes-left := $(all-object-suffixes)
+include $(o-iterator)
+
+
$(objpfx)C-translit.h: C-translit.h.in gen-translit.py
$(make-target-directory)
$(PYTHON) gen-translit.py < $< > $@.tmp
--
2.25.1
More information about the Libc-alpha
mailing list