Commit d905d7c1 authored by Ivan Tyagov's avatar Ivan Tyagov

Disable warning for 2038 for tar for 32 bit systems.

See merge request !1559
parents 210e2d76 77eabe12
...@@ -23,6 +23,10 @@ patches = ...@@ -23,6 +23,10 @@ patches =
https://github.com/coreutils/coreutils/commit/c4c5ed8f4e9cd55a12966d4f520e3a13101637d9.patch#b6810d7559ffbc5e24636a860f02e836 https://github.com/coreutils/coreutils/commit/c4c5ed8f4e9cd55a12966d4f520e3a13101637d9.patch#b6810d7559ffbc5e24636a860f02e836
patch-options = -p1 patch-options = -p1
# disable year 2038 problem ONLY for 32 bit architectures
[coreutils:platform.architecture()[0] == '32bit']
configure-options += --disable-year2038
[coreutils-output] [coreutils-output]
# Shared binary location to ease migration # Shared binary location to ease migration
recipe = plone.recipe.command recipe = plone.recipe.command
......
...@@ -12,3 +12,7 @@ md5sum = a2d8042658cfd8ea939e6d911eaf4152 ...@@ -12,3 +12,7 @@ md5sum = a2d8042658cfd8ea939e6d911eaf4152
environment = environment =
FORCE_UNSAFE_CONFIGURE=1 FORCE_UNSAFE_CONFIGURE=1
PATH=${xz-utils:location}/bin:%(PATH)s PATH=${xz-utils:location}/bin:%(PATH)s
# disable year 2038 problem ONLY for 32 bit architectures
[tar:platform.architecture()[0] == '32bit']
configure-options += --disable-year2038
...@@ -17,15 +17,6 @@ extends = ...@@ -17,15 +17,6 @@ extends =
# we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component) # we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component)
max_version = 0 max_version = 0
# disable warning for time_t type structure after 2038
# https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
[coreutils]
configure-options =
--disable-libcap
--without-selinux
--prefix=@@LOCATION@@
--disable-year2038
# we need open62541's sources even after compiling and linking in [open62541] # we need open62541's sources even after compiling and linking in [open62541]
# section. Reasons is that coupler's C application depends on it. # section. Reasons is that coupler's C application depends on it.
[open62541-source] [open62541-source]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment