diff --git a/crypto/Makefile b/crypto/Makefile index e348cfefc2..f63659481c 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -151,7 +151,7 @@ $(ZKP_PATH)/src/ecmult_static_context.h: $(ZKP_PATH)/src/gen_context.c cd $(ZKP_PATH) && ./gen_context secp256k1-zkp.o: $(ZKP_PATH)/src/ecmult_static_context.h - $(CC) $(ZKP_CFLAGS) -fPIC -I$(ZKP_PATH) -I$(ZKP_PATH)/src -c $(ZKP_PATH)/src/secp256k1.c -o secp256k1-zkp.o + $(CC) $(CFLAGS) -Wno-unused-function $(ZKP_CFLAGS) -fPIC -I$(ZKP_PATH) -I$(ZKP_PATH)/src -c $(ZKP_PATH)/src/secp256k1.c -o secp256k1-zkp.o clean: rm -f *.o aes/*.o chacha20poly1305/*.o ed25519-donna/*.o monero/*.o