diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn index cf3f77a50db..efaf502b04f 100644 --- a/build/config/linux/BUILD.gn +++ b/build/config/linux/BUILD.gn @@ -35,6 +35,13 @@ config("sdk") { ] } } + + # Enable Large File Support extension (LFS) + cflags += [ + "-D_FILE_OFFSET_BITS=64", + "-D_LARGEFILE_SOURCE", + "-D_LARGEFILE64_SOURCE", + ] } config("executable_config") {