nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 15 lines 592 B view raw
1diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn 2index b041a075..27dc22ed 100644 3--- a/build/config/compiler/BUILD.gn 4+++ b/build/config/compiler/BUILD.gn 5@@ -430,6 +430,10 @@ config("compiler") { 6 } 7 } 8 9+ cflags_c += string_split(getenv("CFLAGS"), " ") 10+ cflags_cc += string_split(getenv("CXXFLAGS"), " ") 11+ ldflags += string_split(getenv("LDFLAGS"), " ") 12+ 13 # Assign any flags set for the C compiler to asmflags so that they are sent 14 # to the assembler. The Windows assembler takes different types of flags 15 # so only do so for posix platforms.