constcheck: ignore deprecated declarations

This commit is contained in:
Frank Denis 2019-04-22 19:49:18 +02:00
parent 96094c6feb
commit 2e2de69de3

View File

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