Skip to content

Commit

Permalink
Add patch to add missing ppc64 clang target to v8 build control file
Browse files Browse the repository at this point in the history
  • Loading branch information
madscientist159 committed Apr 19, 2022
1 parent b46f721 commit 1fd5b4f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Common/3dParty/v8/v8_ppc64/add_clang_target.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
index 5b7689f9f..9a70034f5 100644
--- a/build/toolchain/linux/BUILD.gn
+++ b/build/toolchain/linux/BUILD.gn
@@ -57,6 +57,15 @@ gcc_toolchain("arm") {
}
}

+clang_toolchain("clang_ppc64") {
+ # Output linker map files for binary size analysis.
+ enable_linker_map = true
+
+ toolchain_args = {
+ current_cpu = "ppc64"
+ current_os = "linux"
+ }
+}
clang_toolchain("clang_x86") {
# Output linker map files for binary size analysis.
enable_linker_map = true

0 comments on commit 1fd5b4f

Please sign in to comment.