mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Enable NEON feature to get hard floats on Android devices
This commit is contained in:
parent
0f1107baef
commit
e83369dd25
1 changed files with 2 additions and 0 deletions
|
@ -225,6 +225,8 @@ class MachCommands(CommandBase):
|
||||||
build_start = time()
|
build_start = time()
|
||||||
env = self.build_env()
|
env = self.build_env()
|
||||||
if android:
|
if android:
|
||||||
|
# Ensure Rust uses hard floats on Android
|
||||||
|
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C target-feature=+neon"
|
||||||
# Build OpenSSL for android
|
# Build OpenSSL for android
|
||||||
make_cmd = ["make"]
|
make_cmd = ["make"]
|
||||||
if jobs is not None:
|
if jobs is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue