Skip to content

Commit

Permalink
build(crypto): build secp256k1-zkp with flags needed by sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
onvej-sl committed Nov 17, 2021
1 parent 1082318 commit 36077ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36077ce

Please sign in to comment.