linux6.2: fix fixdep on 32-bit in another way.
This commit is contained in:
parent
53dde1798a
commit
85385f83de
|
@ -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