Skip to content

Commit 13fa8a4

Browse files
besser82solardiz
authored andcommitted
ci: Build with "-Werror" enabled on CI.
Signed-off-by: Björn Esser <[email protected]>
1 parent f74cc9d commit 13fa8a4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* Make.defs: Add "-Wextra" to default CFLAGS. Add an option to
1414
enable "-Werror" also.
1515

16+
* ci/run-build-and-tests.sh: Build with "-Werror" enabled on CI.
17+
1618
2021-09-25 Björn Esser <besser82 at fedoraproject.org>
1719

1820
* pam_tcb/support.c (_set_ctrl): Request automatic prefix only if

ci/run-build-and-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ nproc="$(nproc)" || nproc=1
3030
j="-j$nproc"
3131

3232
CFLAGS='-O2 -Wall -W -DENABLE_SETFSUGID -DENABLE_NLS -DNLS_PACKAGE=\"Linux-PAM\"' \
33-
make -k $j CC="$CC"
33+
make -k $j CC="$CC" WERROR=1
3434

3535
if git status --porcelain |grep ^.; then
3636
echo >&2 'git status reported uncleanness'

0 commit comments

Comments
 (0)