| Index: chrome_elf/BUILD.gn
|
| diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn
|
| index b58c82918a0ecdff4a4a4fc5beae1d25562adcb3..74a217f276dd21cdfac03445aec83624bfa8b7cb 100644
|
| --- a/chrome_elf/BUILD.gn
|
| +++ b/chrome_elf/BUILD.gn
|
| @@ -32,7 +32,7 @@ shared_library("chrome_elf") {
|
| "/NODEFAULTLIB:user32.lib",
|
| "/DEF:" + rebase_path("chrome_elf.def"),
|
| ]
|
| - if (cpu_arch == "x86") {
|
| + if (current_cpu == "x86") {
|
| # Don"t set an x64 base address (to avoid breaking HE-ASLR).
|
| ldflags += [ "/BASE:0x01c20000" ]
|
| }
|
| @@ -96,7 +96,7 @@ if (is_component_build) {
|
| configs += [ "//build/config/win:windowed" ]
|
| ldflags = [ "/DEF:" + rebase_path("chrome_redirects.def") ]
|
|
|
| - if (cpu_arch == "x86") {
|
| + if (current_cpu == "x86") {
|
| # Don't set an x64 base address (to avoid breaking HE-ASLR).
|
| ldflags += [ "/BASE:0x01c20000" ]
|
| }
|
|
|