diff --git a/test/constcheck.sh b/test/constcheck.sh index 4681d358..994c1642 100755 --- a/test/constcheck.sh +++ b/test/constcheck.sh @@ -13,6 +13,7 @@ for macro in $(egrep -r '#define crypto_.*BYTES(_[A-Z]+)? ' src/libsodium/includ done echo "return 0; }" >> "$CT" +CPPFLAGS="${CPPFLAGS} -Wno-deprecated-declarations" ${CC:-cc} "$CT" $CPPFLAGS $CFLAGS $LDFLAGS -lsodium || exit 1 ./a.out || exit 1 rm -f a.out "$CT"