mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-07 22:06:25 +08:00

Similar to several GNU tools, util-linux when built using meson is configured by default to error when 64-bit time is not supported. To solve this in the same way as standard configure scripts, check for 64-bit time support ahead of time, and allow 32-bit time when not supported. In the future, the YEAR_2038 variable can be used as a build prerequisite instead of being used for configuration. Ref:39e8ef33bf
("build: add test for 64-bit time support") Fixes:e15d5cf752
("tools/util-linux: build with meson") Signed-off-by: Michael Pratt <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/19617 Signed-off-by: Nick Hainke <vincent@systemli.org>