From: Khem Raj Date: Sat, 31 Dec 2022 22:41:52 +0000 (-0800) Subject: fix(install): do not undef _FILE_OFFSET_BITS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70aeb4c1a56027bc2fe5570c080d96625b377c94;p=thirdparty%2Fdracut.git fix(install): do not undef _FILE_OFFSET_BITS _FILE_OFFSET_BITS is a feature test macro to determine largefile support. Usually its set to 64 on systems supporting LFS. Its also needed to be set to 64 for supporting 64bit time_t on glibc on 32bit systems. If its undefined explicitly, then 64bit time_t can not be enabled. Signed-off-by: Khem Raj --- diff --git a/src/install/dracut-install.c b/src/install/dracut-install.c index dda0cacab..05a67a03f 100644 --- a/src/install/dracut-install.c +++ b/src/install/dracut-install.c @@ -22,7 +22,6 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif -#undef _FILE_OFFSET_BITS #include #include #include