From 353ddc57c23eee65525202540291e57d5da7c88d Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 2 Apr 2024 16:29:19 +0900 Subject: [PATCH] MCL_STATIC_CODE=1 only on x86_64 --- ETH.cfg | 1 - Makefile | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ETH.cfg b/ETH.cfg index 7a28fb8..ab1a3c2 100644 --- a/ETH.cfg +++ b/ETH.cfg @@ -1,2 +1 @@ ETH_CFLAGS=-DBLS_ETH -MCL_STATIC_CODE=1 diff --git a/Makefile b/Makefile index 594b069..699a5fc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ -include ETH.cfg ARCH?=$(shell uname -m) +ifeq ($(ARCH),x86_64) +MCL_STATIC_CODE=1 +endif SRC_DIR?=src/ BLS_DIR?=$(SRC_DIR)/bls MCL_DIR?=$(BLS_DIR)/mcl