Skip to content

Commit

Permalink
Pass -DPURIFY to OpenSSL so it doesn't clutter valgrind output.
Browse files Browse the repository at this point in the history
  • Loading branch information
defuse committed May 25, 2016
1 parent d578de8 commit 0af5e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions depends/packages/openssl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $(package)_config_opts=--prefix=$(host_prefix) --openssldir=$(host_prefix)/etc/o
$(package)_config_opts+=no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2
$(package)_config_opts+=no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3
$(package)_config_opts+=$($(package)_cflags) $($(package)_cppflags)
$(package)_config_opts+=-DPURIFY
$(package)_config_opts_linux=-fPIC -Wa,--noexecstack
$(package)_config_opts_x86_64_linux=linux-x86_64
$(package)_config_opts_i686_linux=linux-generic32
Expand Down
2 changes: 1 addition & 1 deletion qa/zcash/performance-measurements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function zcashd_valgrind_start {
rm -rf "$DATADIR"
mkdir -p "$DATADIR"
rm -f valgrind.out
valgrind --leak-check=yes --log-file="valgrind.out" ./src/zcashd -regtest -datadir="$DATADIR" -rpcuser=user -rpcpassword=password -rpcport=5983 &
valgrind --leak-check=yes --error-limit=no --log-file="valgrind.out" ./src/zcashd -regtest -datadir="$DATADIR" -rpcuser=user -rpcpassword=password -rpcport=5983 &
ZCASHD_PID=$!
}

Expand Down

0 comments on commit 0af5e31

Please sign in to comment.