aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn11
1 files changed, 11 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index e7fffa2ab9..4c6eac27b0 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -112,6 +112,17 @@ config("default") {
"-mfpu=neon",
"-mthumb",
]
+ } else if (current_cpu == "loongson3a") {
+ asmflags += [ "-march=loongson3a" ]
+ cflags += [
+ "-march=loongson3a",
+
+ # Causes an internal compiler error.
+ "-DSKCMS_PORTABLE",
+ ]
+ } else if (current_cpu == "mips64el") {
+ asmflags += [ "-march=mips64" ]
+ cflags += [ "-march=mips64" ]
} else if (current_cpu == "x86" && !is_win) {
asmflags += [ "-m32" ]
cflags += [