From 149f3e577b83afd8f02cbbf0f7f15ddb0a52383b Mon Sep 17 00:00:00 2001 From: JamesRowe Date: Tue, 27 Jul 2021 10:14:55 -0500 Subject: [PATCH] more fixes --- common.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common.mk b/common.mk index 58ae423..f59b696 100644 --- a/common.mk +++ b/common.mk @@ -21,7 +21,7 @@ ifeq ($(UNAME_S),Darwin) OPENSSL_DIR?=/opt/homebrew/opt/openssl@1.1 CFLAGS+=-I$(OPENSSL_DIR)/include LDFLAGS+=-L$(OPENSSL_DIR)/lib - GMP_DIR?=/usr/local/opt/gmp + GMP_DIR?=/opt/homebrew/opt/gmp CFLAGS+=-I$(GMP_DIR)/include LDFLAGS+=-L$(GMP_DIR)/lib else @@ -98,9 +98,9 @@ CFLAGS+=$(CFLAGS_OPT_USER) endif CFLAGS+=$(CFLAGS_USER) MCL_USE_GMP?=1 -ifneq ($(OS),mac/mac-m1,) - MCL_USE_GMP=0 -endif +# ifneq ($(OS),mac/mac-m1,) +# MCL_USE_GMP=0 +# endif MCL_USE_OPENSSL?=1 ifeq ($(MCL_USE_GMP),0) CFLAGS+=-DMCL_USE_VINT