From abf717831995ffce7ad0bc2bb7d1e34aa7e3e27d Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 3 Jul 2014 16:59:41 +0200 Subject: [PATCH] add "small" switch to makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 60e9f4a8df..5dd5c36578 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ CC = gcc CFLAGS = -Wall -Wextra -Os -Wno-sequence-point +ifdef SMALL +CFLAGS += -DUSE_PRECOMPUTED_IV=0 -DUSE_PRECOMPUTED_CP=0 +endif OBJS = bignum.o ecdsa.o secp256k1.o rand.o hmac.o bip32.o bip39.o pbkdf2.o base58.o OBJS += ripemd160.o OBJS += sha2.o