mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
fix macOS ldflags
This commit is contained in:
parent
e9fb9494c1
commit
c7702c55c9
1 changed files with 3 additions and 1 deletions
|
@ -144,11 +144,13 @@ config("pgo_optimization_flags") {
|
|||
if (use_thin_lto) {
|
||||
if (is_win) {
|
||||
ldflags = [ "-mllvm:-enable-ext-tsp-block-placement=1" ]
|
||||
} else {
|
||||
} else if (is_linux) {
|
||||
ldflags = [
|
||||
"-Wl,-mllvm,-enable-ext-tsp-block-placement",
|
||||
"-Wl,-mllvm,-enable-split-machine-functions",
|
||||
]
|
||||
} else {
|
||||
ldflags = [ "-Wl,-mllvm,-enable-ext-tsp-block-placement=1" ]
|
||||
}
|
||||
} else {
|
||||
cflags += [
|
||||
|
|
Loading…
Reference in a new issue