Skip to content

Commit

Permalink
Fix linking error for iOS x64
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Jun 11, 2024
1 parent 09ba00b commit 22250aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ config("compiler") {
ldflags += [ "-Wl,--fatal-warnings" ]
}
if (fatal_linker_warnings && is_apple) {
ldflags += [ "-Wl,-fatal_warnings" ]
if (!(is_ios && target_cpu == "x64")) {
ldflags += [ "-Wl,-fatal_warnings" ]
}
}
}

Expand Down

0 comments on commit 22250aa

Please sign in to comment.