Skip to content

Commit 28fa827

Browse files
committed
ci: add missing CFLAGS variable to print_environment
1 parent 1c820cd commit 28fa827

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/cirrus.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ print_environment() {
1919
do
2020
eval 'printf "%s %s " "$i=\"${'"$i"'}\""'
2121
done
22-
# In contrast to the previous variables, CC, AR and NM may be unset. Print
23-
# them if they are set (even if set to the empty string).
22+
# In contrast to the previous variables, CC, CFLAGS, AR and NM may be unset.
23+
# Print them if they are set (even if set to the empty string).
2424
if [ -n "${CC+x}" ]; then
2525
echo -n "CC=\"${CC}\" "
2626
fi
27+
if [ -n "${CFLAGS+x}" ]; then
28+
echo -n "CFLAGS=\"${CFLAGS}\" "
29+
fi
2730
if [ -n "${AR+x}" ]; then
2831
echo -n "AR=\"${AR}\" "
2932
fi

0 commit comments

Comments
 (0)