Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 898 B view raw
1diff --git a/build/toolchain/linux/unbundle/BUILD.gn b/build/toolchain/linux/unbundle/BUILD.gn 2index a091491236bb1..d36fd4e652fbf 100644 3--- a/build/toolchain/linux/unbundle/BUILD.gn 4+++ b/build/toolchain/linux/unbundle/BUILD.gn 5@@ -9,6 +9,7 @@ gcc_toolchain("default") { 6 cxx = getenv("CXX") 7 ar = getenv("AR") 8 nm = getenv("NM") 9+ readelf = getenv("READELF") 10 ld = cxx 11 12 extra_cflags = getenv("CFLAGS") 13@@ -27,6 +28,7 @@ gcc_toolchain("host") { 14 cxx = getenv("BUILD_CXX") 15 ar = getenv("BUILD_AR") 16 nm = getenv("BUILD_NM") 17+ readelf = getenv("BUILD_READELF") 18 ld = cxx 19 20 extra_cflags = getenv("BUILD_CFLAGS") 21@@ -35,7 +37,8 @@ gcc_toolchain("host") { 22 extra_ldflags = getenv("BUILD_LDFLAGS") 23 24 toolchain_args = { 25- current_cpu = current_cpu 26- current_os = current_os 27+ current_cpu = host_cpu 28+ current_os = host_os 29+ v8_current_cpu = target_cpu 30 } 31 }