Skip to content

Commit

Permalink
boost: fix arm64 build
Browse files Browse the repository at this point in the history
Patch Boost build system, so that it does inject '-arch arm64' instead
of '-arch arm'. This patch is already applied upstream.

Closes #59257.

Signed-off-by: Claudia Pellegrino <1239874+claui@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
aumuell authored and BrewTestBot committed Sep 1, 2020
1 parent 2166ee0 commit 674a86d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/boost.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ class Boost < Formula
directory "tools/build"
end

# Fix build on 64-bit arm
patch do
url "https://github.com/boostorg/build/commit/456be0b7ecca065fbccf380c2f51e0985e608ba0.patch?full_index=1"
sha256 "e7a78145452fc145ea5d6e5f61e72df7dcab3a6eebb2cade6b4cfae815687f3a"
directory "tools/build"
end

def install
# Force boost to compile with the desired compiler
open("user-config.jam", "a") do |file|
Expand Down

0 comments on commit 674a86d

Please sign in to comment.