Skip to content

Commit

Permalink
devel/electron12: Fix build on aarch64
Browse files Browse the repository at this point in the history
Approved by:	portmgr (build fix blanket)
  • Loading branch information
MikaelUrankar committed Sep 9, 2021
1 parent d7fa638 commit ceadfd8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions devel/electron12/files/patch-third__party_zlib_BUILD.gn
@@ -0,0 +1,11 @@
--- third_party/zlib/BUILD.gn.orig 2021-04-13 08:26:04 UTC
+++ third_party/zlib/BUILD.gn
@@ -108,6 +108,8 @@ if (use_arm_neon_optimizations) {
defines = [ "CRC32_ARMV8_CRC32" ]
if (is_android) {
defines += [ "ARMV8_OS_ANDROID" ]
+ } else if (is_bsd) {
+ defines += [ "ARMV8_OS_FREEBSD" ]
} else if (is_linux || is_chromeos) {
defines += [ "ARMV8_OS_LINUX" ]
} else if (is_mac) {

0 comments on commit ceadfd8

Please sign in to comment.