From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id B029A3AAAC2C; Thu, 4 Mar 2021 17:40:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B029A3AAAC2C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/y2038] iconv: Use LFS and 64 bit time_t for installed programs X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/y2038 X-Git-Oldrev: cad5c96e3572cefb254646712a91c29e850421b3 X-Git-Newrev: fe7fa61c45956ee49ee0302501aa60242c29e47f Message-Id: <20210304174037.B029A3AAAC2C@sourceware.org> Date: Thu, 4 Mar 2021 17:40:37 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 17:40:37 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fe7fa61c45956ee49ee0302501aa60242c29e47f commit fe7fa61c45956ee49ee0302501aa60242c29e47f Author: Adhemerval Zanella Date: Tue Mar 2 17:15:03 2021 -0300 iconv: Use LFS and 64 bit time_t for installed programs It is enabled for iconv and iconvconfig. Diff: --- iconv/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/iconv/Makefile b/iconv/Makefile index 659857dd8c..b7494efd0c 100644 --- a/iconv/Makefile +++ b/iconv/Makefile @@ -94,6 +94,14 @@ $(inst_bindir)/iconv: $(objpfx)iconv_prog $(+force) $(objpfx)iconv_prog: $(iconv_prog-modules:%=$(objpfx)%.o) $(objpfx)iconvconfig: $(iconvconfig-modules:%=$(objpfx)%.o) +include $(o-iterator) +define o-iterator-doit +$(foreach f,$(others:%s=$(objpfx)%.o) $(iconv_prog-modules) \ + $(iconvconfig-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)test-iconvconfig.out: /dev/null $(objpfx)iconvconfig (set -e; \