Skip to content

Commit

Permalink
merge dev
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jan 4, 2024
2 parents eb3f104 + 4f11ef0 commit dce9977
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Makefile.onelib
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ BINT_OBJ=$(MCL_DIR)/$(OBJ_DIR)/bint$(BIT).o
ifeq ($(CPU),x86-64)
_ARCH=amd64
endif
ifeq ($(CPU)$(ETH_CFLAGS),x86-64-DBLS_ETH)
ifeq ($(_OS),windows)
MCL_STATIC_CODE?=0
else
MCL_STATIC_CODE?=1
endif
endif

ifeq ($(MCL_STATIC_CODE),1)
MIN_CFLAGS+=-DMCL_STATIC_CODE -DMCL_DONT_USE_XBYAK
OBJS+=$(MCL_DIR)/obj/static_code.o
$(MCL_DIR)/obj/static_code.o:
$(MAKE) -C $(MCL_DIR) obj/static_code.o
endif
ifeq ($(CPU),aarch64)
_ARCH=arm64
endif
Expand Down
2 changes: 1 addition & 1 deletion mcl

0 comments on commit dce9977

Please sign in to comment.