fix cflags again

This commit is contained in:
Alexander Frick 2024-01-08 04:28:56 -06:00
parent b2431dc805
commit b7ad89f7f0

View file

@ -499,7 +499,7 @@ config("compiler") {
ldflags += [ "-fPIC" ]
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" ]
cflags += [ "-fbasic-block-sections=labels" ]
rustflags += [ "-Cllvm-args=-basic-block-sections=labels" ]