diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn index efaf502b0..15632e7f2 100644 --- a/build/config/linux/BUILD.gn +++ b/build/config/linux/BUILD.gn @@ -36,6 +36,9 @@ config("sdk") { } } + ldflags += string_split(getenv("LDFLAGS"), " ") + cflags += string_split(getenv("CFLAGS"), " ") + # Enable Large File Support extension (LFS) cflags += [ "-D_FILE_OFFSET_BITS=64",