Skip to content

Commit

Permalink
Define OPENSSL_NO_ASM for PS5 modular builds (#2016)
Browse files Browse the repository at this point in the history
b/246412559

PS5 modular builds fail to run browser_test without this change ,
details in b/246412559#comment57
  • Loading branch information
niranjanyardi authored Dec 1, 2023
1 parent 0cd1dff commit a56372f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third_party/boringssl/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import("//starboard/sabi/sabi.gni")
import("//third_party/boringssl/buildfiles.gni")
import("//starboard/build/config/os_definitions.gni")

declare_args() {
asm_target_arch = target_cpu
Expand Down Expand Up @@ -107,7 +108,7 @@ static_library("crypto") {
if ((calling_convention != "aarch64" && calling_convention != "eabi" &&
calling_convention != "sysv" && calling_convention != "windows") ||
(asm_target_arch != "x86" && asm_target_arch != "x64" &&
asm_target_arch != "arm" && asm_target_arch != "arm64")) {
asm_target_arch != "arm" && asm_target_arch != "arm64") || is_host_win) { # is_host_win : windows host modular builds need OPENSSL_NO_ASM )
defines = [ "OPENSSL_NO_ASM" ]
} else {
if (calling_convention == "aarch64" || calling_convention == "eabi" ||
Expand Down

0 comments on commit a56372f

Please sign in to comment.