summarylogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorsL1pKn072017-06-27 16:18:03 +0200
committersL1pKn072017-06-27 16:18:03 +0200
commit291ab04200cbda7661090d88a4051d98b8fd4865 (patch)
treed2f6bc530eeb083d20541aa7f9f36adb4e86e421 /BUILD.gn
parent8f45a6c3847dad99ffa1394c5b75fa3dff184f2c (diff)
downloadaur-291ab04200cbda7661090d88a4051d98b8fd4865.tar.gz
Update to 61.0.3135.4
- Cleanup
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn18
1 files changed, 18 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 052c0b3f305a..fb9e314021be 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -17,3 +17,21 @@ gcc_toolchain("default") {
current_os = current_os
}
}
+
+gcc_toolchain("host") {
+ cc = getenv("CC")
+ cxx = getenv("CXX")
+ ar = "ar"
+ nm = "nm"
+ ld = cxx
+
+ extra_cflags = getenv("CFLAGS")
+ extra_cppflags = getenv("CPPFLAGS")
+ extra_cxxflags = getenv("CXXFLAGS")
+ extra_ldflags = getenv("LDFLAGS")
+
+ toolchain_args = {
+ current_cpu = current_cpu
+ current_os = current_os
+ }
+}