aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index b09e1846a4..98d6b675af 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -46,8 +46,6 @@ config("default") {
"/FS", # Preserve previous PDB behavior.
"/bigobj", # Some of our files are bigger than the regular limits.
]
- cflags_c += [ "/TC" ]
- cflags_cc += [ "/TP" ]
defines += [
"_HAS_EXCEPTIONS=0",
"WIN32_LEAN_AND_MEAN",
@@ -178,7 +176,7 @@ config("default") {
"-march=mips32r2",
"-mdspr2",
]
- } else if (current_cpu == "x86") {
+ } else if (current_cpu == "x86" && !is_win) {
asmflags += [ "-m32" ]
cflags += [
"-m32",