linux6.1: fix fixdep on 32-bit in another way.
This commit is contained in:
parent
f9a1e98e5a
commit
53dde1798a
11
srcpkgs/linux6.1/patches/fixdep-largefile.patch
Normal file
11
srcpkgs/linux6.1/patches/fixdep-largefile.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/tools/build/fixdep.c
|
||||
+++ b/tools/build/fixdep.c
|
||||
@@ -11,6 +11,8 @@
|
||||
* base transformation of dependecies without the CONFIG mangle.
|
||||
*/
|
||||
|
||||
+#define _FILE_OFFSET_BITS 64
|
||||
+
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
@ -51,9 +51,6 @@ export KBUILD_BUILD_TIMESTAMP=$(LC_ALL=C date -ud @${SOURCE_DATE_EPOCH:-0})
|
||||
export KBUILD_BUILD_USER=voidlinux
|
||||
export KBUILD_BUILD_HOST=voidlinux
|
||||
|
||||
# 64-bit inodes in fixdep
|
||||
export HOST_EXTRACFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user