mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
fix android cflags
This commit is contained in:
parent
b3caee6f39
commit
b2431dc805
5 changed files with 5 additions and 5 deletions
|
@ -499,7 +499,7 @@ config("compiler") {
|
||||||
ldflags += [ "-fPIC" ]
|
ldflags += [ "-fPIC" ]
|
||||||
rustflags += [ "-Crelocation-model=pic" ]
|
rustflags += [ "-Crelocation-model=pic" ]
|
||||||
|
|
||||||
if (is_clang && chrome_pgo_phase == 2) {
|
if (is_clang && chrome_pgo_phase == 2 && !is_android) {
|
||||||
asmflags += [ "-fbasic-block-sections=labels" ]
|
asmflags += [ "-fbasic-block-sections=labels" ]
|
||||||
cflags += [ "-fbasic-block-sections=labels" ]
|
cflags += [ "-fbasic-block-sections=labels" ]
|
||||||
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
||||||
|
|
|
@ -499,7 +499,7 @@ config("compiler") {
|
||||||
ldflags += [ "-fPIC" ]
|
ldflags += [ "-fPIC" ]
|
||||||
rustflags += [ "-Crelocation-model=pic" ]
|
rustflags += [ "-Crelocation-model=pic" ]
|
||||||
|
|
||||||
if (is_clang && chrome_pgo_phase == 2) {
|
if (is_clang && chrome_pgo_phase == 2 && !is_android) {
|
||||||
asmflags += [ "-fbasic-block-sections=labels" ]
|
asmflags += [ "-fbasic-block-sections=labels" ]
|
||||||
cflags += [ "-fbasic-block-sections=labels" ]
|
cflags += [ "-fbasic-block-sections=labels" ]
|
||||||
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
||||||
|
|
|
@ -499,7 +499,7 @@ config("compiler") {
|
||||||
ldflags += [ "-fPIC" ]
|
ldflags += [ "-fPIC" ]
|
||||||
rustflags += [ "-Crelocation-model=pic" ]
|
rustflags += [ "-Crelocation-model=pic" ]
|
||||||
|
|
||||||
if (is_clang && chrome_pgo_phase == 2) {
|
if (is_clang && chrome_pgo_phase == 2 && !is_android) {
|
||||||
asmflags += [ "-fbasic-block-sections=labels" ]
|
asmflags += [ "-fbasic-block-sections=labels" ]
|
||||||
cflags += [ "-fbasic-block-sections=labels" ]
|
cflags += [ "-fbasic-block-sections=labels" ]
|
||||||
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
||||||
|
|
|
@ -499,7 +499,7 @@ config("compiler") {
|
||||||
ldflags += [ "-fPIC" ]
|
ldflags += [ "-fPIC" ]
|
||||||
rustflags += [ "-Crelocation-model=pic" ]
|
rustflags += [ "-Crelocation-model=pic" ]
|
||||||
|
|
||||||
if (is_clang && chrome_pgo_phase == 2) {
|
if (is_clang && chrome_pgo_phase == 2 && !is_android) {
|
||||||
asmflags += [ "-fbasic-block-sections=labels" ]
|
asmflags += [ "-fbasic-block-sections=labels" ]
|
||||||
cflags += [ "-fbasic-block-sections=labels" ]
|
cflags += [ "-fbasic-block-sections=labels" ]
|
||||||
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
||||||
|
|
|
@ -499,7 +499,7 @@ config("compiler") {
|
||||||
ldflags += [ "-fPIC" ]
|
ldflags += [ "-fPIC" ]
|
||||||
rustflags += [ "-Crelocation-model=pic" ]
|
rustflags += [ "-Crelocation-model=pic" ]
|
||||||
|
|
||||||
if (is_clang && chrome_pgo_phase == 2) {
|
if (is_clang && chrome_pgo_phase == 2 && !is_android) {
|
||||||
asmflags += [ "-fbasic-block-sections=labels" ]
|
asmflags += [ "-fbasic-block-sections=labels" ]
|
||||||
cflags += [ "-fbasic-block-sections=labels" ]
|
cflags += [ "-fbasic-block-sections=labels" ]
|
||||||
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]
|
||||||
|
|
Loading…
Reference in a new issue