Skip to content

Commit

Permalink
build/pkgs/ecm/spkg-install.in: Work around build failure with Xcode …
Browse files Browse the repository at this point in the history
…15, #36342
  • Loading branch information
Matthias Koeppe committed Sep 27, 2023
1 parent 4d3e807 commit c22131f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/pkgs/ecm/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ export CFLAGS # Not exported by 'sage-env'. LDFLAGS are exported above if
# necessary. We currently don't set (or modify) any other
# environment variables, so don't have to export them here.

# Workaround for build failure with Xcode 15, https://github.com/sagemath/sage/issues/36342
case "$UNAME" in
Darwin*)
export gmp_cv_asm_underscore=yes
;;
esac

###############################################################################
# Now configure ECM:
Expand Down

0 comments on commit c22131f

Please sign in to comment.