Index: build/toolchain.gypi |
diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
index e1b533d4dcc1fca757a474c3c396f6772a9b40e6..a7ba7c1434749534b57f7550e541478f84444b3b 100644 |
--- a/build/toolchain.gypi |
+++ b/build/toolchain.gypi |
@@ -376,6 +376,14 @@ |
'cflags': ['-msoft-float'], |
'ldflags': ['-msoft-float'], |
}], |
+ ['mips_arch_variant=="r6"', { |
+ 'cflags': ['-mips64r6', '-mabi=64', '-Wa,-mips64r6'], |
+ 'ldflags': [ |
+ '-mips64r6', '-mabi=64', |
+ '-Wl,--dynamic-linker=$(LDSO_PATH)', |
+ '-Wl,--rpath=$(LD_R_PATH)', |
+ ], |
+ }], |
['mips_arch_variant=="r2"', { |
'cflags': ['-mips64r2', '-mabi=64', '-Wa,-mips64r2'], |
'ldflags': [ |
@@ -384,9 +392,6 @@ |
'-Wl,--rpath=$(LD_R_PATH)', |
], |
}], |
- ['mips_arch_variant=="loongson"', { |
- 'cflags': ['-mips3', '-Wa,-mips3'], |
- }], |
], |
}], |
], |
@@ -406,12 +411,12 @@ |
'__mips_soft_float=1' |
], |
}], |
+ ['mips_arch_variant=="r6"', { |
+ 'defines': ['_MIPS_ARCH_MIPS64R6',], |
+ }], |
['mips_arch_variant=="r2"', { |
'defines': ['_MIPS_ARCH_MIPS64R2',], |
}], |
- ['mips_arch_variant=="loongson"', { |
- 'defines': ['_MIPS_ARCH_LOONGSON',], |
- }], |
], |
}], # v8_target_arch=="mips64el" |
['v8_target_arch=="x64"', { |