Skip to content

Commit

Permalink
Force use of portable blst in C (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia authored Aug 11, 2023
1 parent b645bcc commit 74069da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ endif
# Settings for blst.
BLST_LIBRARY = ../lib/libblst.a
BLST_BUILDSCRIPT = ../blst/build.sh
BLST_BUILDSCRIPT_FLAGS = -D__BLST_PORTABLE__

# Libraries to build with.
LIBS = $(BLST_LIBRARY)
Expand All @@ -54,7 +55,7 @@ $(BLST_BUILDSCRIPT):

$(BLST_LIBRARY): $(BLST_BUILDSCRIPT)
@cd $(dir $(BLST_BUILDSCRIPT)) && \
./$(notdir $(BLST_BUILDSCRIPT)) && \
./$(notdir $(BLST_BUILDSCRIPT)) $(BLST_BUILDSCRIPT_FLAGS) && \
cp $(notdir $(BLST_LIBRARY)) ../lib && \
cp bindings/*.h ../inc

Expand Down

0 comments on commit 74069da

Please sign in to comment.