diff --git a/lfs/coreutils b/lfs/coreutils index fa2574ad0..2c282b194 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 c7dea498f..eeea99dbe 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 ###############################################################################