File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ if(SECP256K1_VALGRIND)
117
117
find_package (Valgrind MODULE )
118
118
if (Valgrind_FOUND )
119
119
set (SECP256K1_VALGRIND ON )
120
- include_directories (${Valgrind_INCLUDE_DIR} )
120
+ include_directories (SYSTEM ${Valgrind_INCLUDE_DIR} )
121
121
add_definitions (-DVALGRIND )
122
122
elseif (SECP256K1_VALGRIND STREQUAL "AUTO" )
123
123
set (SECP256K1_VALGRIND OFF )
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ case $host_os in
57
57
# Homebrew where each one is located, then adjust paths accordingly.
58
58
if $BREW list --versions valgrind >/dev/null; then
59
59
valgrind_prefix=$($BREW --prefix valgrind 2>/dev/null)
60
- VALGRIND_CPPFLAGS="-I $valgrind_prefix/include"
60
+ VALGRIND_CPPFLAGS="-nostdinc -isystem $valgrind_prefix/include"
61
61
fi
62
62
else
63
63
AC_CHECK_PROG ( [ PORT] , port , port )
You can’t perform that action at this time.
0 commit comments