disable GMP on macOS Catalina

update-fork
MITSUNARI Shigeo 5 years ago
parent 0fe07b047c
commit bfd0459d2f
  1. 6
      common.mk

@ -95,6 +95,12 @@ CFLAGS+=$(CFLAGS_OPT_USER)
endif endif
CFLAGS+=$(CFLAGS_USER) CFLAGS+=$(CFLAGS_USER)
MCL_USE_GMP?=1 MCL_USE_GMP?=1
ifeq ($(OS),mac)
ifeq ($(shell sw_vers -productVersion),10.15)
# workaround because of GMP does not run well on Catalina
MCL_USE_GMP=0
endif
endif
MCL_USE_OPENSSL?=1 MCL_USE_OPENSSL?=1
ifeq ($(MCL_USE_GMP),0) ifeq ($(MCL_USE_GMP),0)
CFLAGS+=-DMCL_USE_VINT CFLAGS+=-DMCL_USE_VINT

Loading…
Cancel
Save