mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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()
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue