Skip to content

Commit

Permalink
build/pkgs/rubiks/spkg-install.in: Work around compiler hang with XCode
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 6, 2022
1 parent 4895341 commit 6b9e1d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/pkgs/rubiks/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ else
INSTALL=install; export INSTALL
fi

if [ $UNAME = "Darwin" ]; then
# #34293: Work around compiler hang
export CXXFLAGS="$CXXFLAGS -O1"
fi

cd src

echo "Building Rubiks cube solvers"
Expand Down

0 comments on commit 6b9e1d7

Please sign in to comment.