Index: build/android.gypi |
diff --git a/build/android.gypi b/build/android.gypi |
index 67a9d35820884478d8f43fa96775d4a0aa218e46..2ee7cf99257a1c3ebcc2f69dec850622e03814a0 100644 |
--- a/build/android.gypi |
+++ b/build/android.gypi |
@@ -181,6 +181,11 @@ |
'-L<(android_stlport_libs)/armeabi', |
], |
}], |
+ ['target_arch=="mipsel"', { |
+ 'ldflags': [ |
+ '-L<(android_stlport_libs)/mips', |
+ ], |
+ }], |
['target_arch=="ia32"', { |
'ldflags': [ |
'-L<(android_stlport_libs)/x86', |
@@ -197,6 +202,16 @@ |
'-fno-stack-protector', |
], |
}], |
+ ['target_arch=="mipsel"', { |
+ # The mips toolchain currently has problems with stack-protector. |
+ 'cflags!': [ |
+ '-fstack-protector', |
+ '-U__linux__' |
+ ], |
+ 'cflags': [ |
+ '-fno-stack-protector', |
+ ], |
+ }], |
], |
'target_conditions': [ |
['_type=="executable"', { |