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:
@ -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
|
||||
|
Reference in New Issue
Block a user