ci: set -u in cirrus.sh to treat unset variables as an error

This commit is contained in:
Jonas Nick
2022-11-08 09:47:31 +00:00
parent 44916ae915
commit c2e0fdadeb
2 changed files with 12 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
env:
### compiler options
HOST:
WRAPPER_CMD:
# Specific warnings can be disabled with -Wno-error=foo.
# -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
WERROR_CFLAGS: -Werror -pedantic-errors