From: Michael Tremer Date: Wed, 24 Oct 2018 16:27:38 +0000 (+0100) Subject: coreutils+gzip: Allow building with 32 bit time_t on 32 bit arches X-Git-Tag: v2.21-core125~41^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa9cfe5a02bb46c33268910192d2d353d35a9a2a;hp=b26071d3787edf24084bbf8fb810894e7de31f8e;p=people%2Fpmueller%2Fipfire-2.x.git coreutils+gzip: Allow building with 32 bit time_t on 32 bit arches Signed-off-by: Michael Tremer --- diff --git a/lfs/coreutils b/lfs/coreutils index fa2574ad09..2c282b194b 100644 --- a/lfs/coreutils +++ b/lfs/coreutils @@ -50,6 +50,11 @@ CONFIGURE_OPTIONS += \ CFLAGS += -fno-strict-aliasing +# Build with 32 bit time_t on 32 bit architectures +ifeq "$(IS_32BIT)" "1" + export TIME_T_32_BIT_OK=yes +endif + ############################################################################### # Top-level Rules ############################################################################### diff --git a/lfs/gzip b/lfs/gzip index c7dea498f5..eeea99dbe5 100644 --- a/lfs/gzip +++ b/lfs/gzip @@ -41,6 +41,11 @@ else EXTRA_CONFIG = --prefix=$(TOOLS_DIR) endif +# Build with 32 bit time_t on 32 bit architectures +ifeq "$(IS_32BIT)" "1" + export TIME_T_32_BIT_OK=yes +endif + ############################################################################### # Top-level Rules ###############################################################################