[cc:riscv64] Do not pass -mno-strict-align while linking
Bug: http://b/327307773 Newer clang rejects this flag as unsupported. It is not necessary while linking because the flag is passed as an IR feature. Change-Id: I781afd913be7c07612196e736c3ae58773791071
This commit is contained in:
parent
bc7c97b15b
commit
950e8c97fe
1 changed files with 0 additions and 2 deletions
|
@ -45,8 +45,6 @@ var (
|
||||||
// This is already the driver's Android default, but duplicated here (and
|
// This is already the driver's Android default, but duplicated here (and
|
||||||
// above) for ease of experimentation with additional extensions.
|
// above) for ease of experimentation with additional extensions.
|
||||||
"-march=rv64gcv_zba_zbb_zbs",
|
"-march=rv64gcv_zba_zbb_zbs",
|
||||||
// TODO: move to driver (https://github.com/google/android-riscv64/issues/111)
|
|
||||||
"-mno-strict-align",
|
|
||||||
// TODO: remove when clang default changed (https://github.com/google/android-riscv64/issues/124)
|
// TODO: remove when clang default changed (https://github.com/google/android-riscv64/issues/124)
|
||||||
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
|
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue