mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Config: Globally permit using 32 bit time_t
This is required because some packages do not recommend building with time_t when it is 32 bit (Y2038 problem). Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
1c74bc461d
commit
bbedf54c52
@@ -84,6 +84,11 @@ else
|
||||
PREFIX = /usr
|
||||
endif
|
||||
|
||||
# Permit building with 32 bit time_t on 32 bit architectures
|
||||
ifeq "$(IS_32BIT)" "1"
|
||||
export TIME_T_32_BIT_OK = yes
|
||||
endif
|
||||
|
||||
TAR_OPTIONS = \
|
||||
--format=pax \
|
||||
--acls \
|
||||
|
||||
@@ -50,11 +50,6 @@ 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
|
||||
###############################################################################
|
||||
|
||||
5
lfs/gzip
5
lfs/gzip
@@ -41,11 +41,6 @@ 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
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user