aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 381186f2086..581bbaf6821 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -225,6 +225,8 @@ class MachCommands(CommandBase):
build_start = time()
env = self.build_env()
if android:
+ # Ensure Rust uses hard floats on Android
+ env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C target-feature=+neon"
# Build OpenSSL for android
make_cmd = ["make"]
if jobs is not None: