mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
Makefile: pass CC through to libsecp256k1 build.
For CC="gcc -m32" in particular. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
2
Makefile
2
Makefile
@@ -247,7 +247,7 @@ ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o $(CDU
|
|||||||
libsecp256k1.a: secp256k1/libsecp256k1.la
|
libsecp256k1.a: secp256k1/libsecp256k1.la
|
||||||
|
|
||||||
secp256k1/libsecp256k1.la:
|
secp256k1/libsecp256k1.la:
|
||||||
cd secp256k1 && ./autogen.sh && ./configure --enable-static=yes --enable-shared=no --enable-tests=no --enable-experimental=yes --enable-module-ecdh=yes --libdir=`pwd`/..
|
cd secp256k1 && ./autogen.sh && ./configure CC="$(CC)" --enable-static=yes --enable-shared=no --enable-tests=no --enable-experimental=yes --enable-module-ecdh=yes --libdir=`pwd`/..
|
||||||
$(MAKE) -C secp256k1 install-exec
|
$(MAKE) -C secp256k1 install-exec
|
||||||
|
|
||||||
lightning.pb-c.c lightning.pb-c.h: lightning.proto
|
lightning.pb-c.c lightning.pb-c.h: lightning.proto
|
||||||
|
|||||||
Reference in New Issue
Block a user