1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Update the tool/warnings.sh script to automatically use the right options on OpenBSD..

FossilOrigin-Name: 7940bff32aa6ea868a53680822d148b7ec7a075c01ae9e0d5ad9859bcc339054
This commit is contained in:
dan
2017-05-16 09:49:42 +00:00
parent dd1bb43ab5
commit 9ea258d712
3 changed files with 17 additions and 15 deletions

View File

@ -4,13 +4,15 @@
# compiler warnings in SQLite.
#
# Use these for testing on Linux and Mac OSX:
WARNING_OPTS="-Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long"
WARNING_ANDROID_OPTS="-Wshadow -Wall -Wextra"
# Use these for testing on OpenBSD:
# WARNING_OPTS=-Wall
# WARNING_ANDROID_OPTS=-Wall
if uname | grep -i openbsd ; then
# Use these for testing on OpenBSD:
WARNING_OPTS=-Wall
WARNING_ANDROID_OPTS=-Wall
else
# Use these for testing on Linux and Mac OSX:
WARNING_OPTS="-Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long"
WARNING_ANDROID_OPTS="-Wshadow -Wall -Wextra"
fi
rm -f sqlite3.c
make sqlite3.c