Skip to content

Commit ec213d8

Browse files
author
dwightguth
authored
cmake flags to libff (#409)
* cmake flags to libff * add empty variable declaration
1 parent 6aaeae7 commit ec213d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ $(libsecp256k1_out):
8181

8282
LIBFF_CC ?=clang-8
8383
LIBFF_CXX?=clang++-8
84+
LIBFF_CMAKE_FLAGS?=
8485

8586
$(DEPS_DIR)/libff/CMakeLists.txt:
8687
@echo "== submodule: $(DEPS_DIR)/libff"
@@ -90,7 +91,7 @@ $(libff_out): $(DEPS_DIR)/libff/CMakeLists.txt
9091
cd $(DEPS_DIR)/libff/ \
9192
&& mkdir -p build \
9293
&& cd build \
93-
&& CC=$(LIBFF_CC) CXX=$(LIBFF_CXX) cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(BUILD_LOCAL) \
94+
&& CC=$(LIBFF_CC) CXX=$(LIBFF_CXX) cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(BUILD_LOCAL) $(LIBFF_CMAKE_FLAGS) \
9495
&& make -s -j4 \
9596
&& make install
9697

0 commit comments

Comments
 (0)