summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/config/BUILDCONFIG.gn8
-rw-r--r--build/config/compiler/BUILD.gn2
-rw-r--r--build/config/win/BUILD.gn2
-rw-r--r--build/toolchain/win/BUILD.gn2
4 files changed, 7 insertions, 7 deletions
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index d3a0683..f67106b 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -150,9 +150,9 @@ if (is_win) {
# Always use 32-bit on Windows, even when compiling on a 64-bit host OS,
# unless the override flag is specified.
if (force_win64) {
- cpu_arch = "ia64"
+ cpu_arch = "x64"
} else {
- cpu_arch = "ia32"
+ cpu_arch = "x86"
}
}
@@ -383,9 +383,9 @@ set_defaults("source_set") {
# default toolchain.
if (is_win) {
- if (cpu_arch == "ia64") {
+ if (cpu_arch == "x64") {
host_toolchain = "//build/toolchain/win:64"
- } else if (cpu_arch == "ia32") {
+ } else if (cpu_arch == "x86") {
host_toolchain = "//build/toolchain/win:32"
}
set_default_toolchain(host_toolchain)
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 20ffbb5..6f69e05 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -83,7 +83,7 @@ config("compiler") {
# Use gold for linking on 64-bit Linux only (on 32-bit it runs out of
# address space, and it doesn't support cross-compiling).
- if (cpu_arch == "ia64") {
+ if (cpu_arch == "x64") {
gold_path = rebase_path("//third_party/gold", ".", root_build_dir)
ldflags += [
"-B$gold_path",
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
index 72147e0..8bedbf5 100644
--- a/build/config/win/BUILD.gn
+++ b/build/config/win/BUILD.gn
@@ -44,7 +44,7 @@ config("sdk") {
# Linker flags for Windows SDK setup, this is applied only to EXEs and DLLs.
config("sdk_link") {
- if (cpu_arch == "ia64") {
+ if (cpu_arch == "x64") {
ldflags = [ "/MACHINE:X64" ]
lib_dirs = [
"$windows_sdk_path\Lib\win8\um\x64",
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn
index 68194ab..6abf808 100644
--- a/build/toolchain/win/BUILD.gn
+++ b/build/toolchain/win/BUILD.gn
@@ -146,7 +146,7 @@ toolchain("64") {
# When invoking this toolchain not as the default one, these args will be
# passed to the build. They are ignored when this is the default toolchain.
toolchain_args() {
- cpu_arch = "ia64"
+ cpu_arch = "x64"
# Normally the build config resets the CPU architecture to 32-bits. Setting
# this flag overrides that behavior.
force_win64 = true