constcheck: ignore deprecated declarations
This commit is contained in:
parent
96094c6feb
commit
2e2de69de3
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user