mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
coreutils: disable year 2038 on x86
This commit is contained in:
@@ -271,14 +271,17 @@ defineDebugInfoPackage coreutils$secondaryArchSuffix \
|
||||
PATCH()
|
||||
{
|
||||
sed -i -e 's|O_NOCACHE|DD_NOCACHE|g' src/dd.c
|
||||
sed -i -e 's|ac_year2038_required=yes|ac_year2038_required=no|g' configure
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
local configureFlags
|
||||
if [ "$effectiveTargetArchitecture" = x86 ]; then
|
||||
configureFlags=--disable-year2038
|
||||
fi
|
||||
export CPPFLAGS=-Dst_birthtim=st_crtim
|
||||
FORCE_UNSAFE_CONFIGURE=1 gnulib_cv_have_boot_time=yes \
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
runConfigure --omit-dirs binDir ./configure $configureFlags \
|
||||
--bindir=$commandBinDir \
|
||||
--without-included-regex \
|
||||
--disable-rpath --with-gnu-ld \
|
||||
|
||||
Reference in New Issue
Block a user