Skip to content

Commit

Permalink
Enable NEON feature to get hard floats on Android devices
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbergstrom committed Mar 25, 2016
1 parent 0f1107b commit e83369d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/servo/build_commands.py
Expand Up @@ -225,6 +225,8 @@ def build(self, target=None, release=False, dev=False, jobs=None,
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:
Expand Down

0 comments on commit e83369d

Please sign in to comment.