mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
build(crypto): build secp256k1-zkp with flags needed by sanitizers
This commit is contained in:
parent
9b1c5df451
commit
2e4884199b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user