]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
coreutils+gzip: Allow building with 32 bit time_t on 32 bit arches
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Oct 2018 16:27:38 +0000 (17:27 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Oct 2018 16:27:38 +0000 (17:27 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/coreutils
lfs/gzip

index fa2574ad09fd2c2818e0ec541a06e89101c90bb3..2c282b194b9f60ce26720b41098868b8d2da8678 100644 (file)
@@ -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
 ###############################################################################
index c7dea498f50363fc85781068aaf790f5fc02ae7f..eeea99dbe5d8e959084a3b2e01236e2533131aa0 100644 (file)
--- 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
 ###############################################################################