diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-02 17:17:59 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-05 16:15:57 -0300 |
commit | 42e98cdb5c817a23c9705e0396b369ee00fe496e (patch) | |
tree | ae2cc163ef721e97b727d4a6b80894f21015d925 | |
parent | c1285e49f8c88e261e927225dd79f4096590cd53 (diff) | |
download | glibc-42e98cdb5c817a23c9705e0396b369ee00fe496e.tar.gz |
locale: Use LFS and 64 bit time_t for installed programs
It is enabled for locale and localedef.
-rw-r--r-- | locale/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
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 |