projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reduce duplication in request handler tables
[tinc]
/
.ci
/
warn
/
run.sh
diff --git
a/.ci/warn/run.sh
b/.ci/warn/run.sh
index
65f46eb
..
b84bc2e
100755
(executable)
--- a/
.ci/warn/run.sh
+++ b/
.ci/warn/run.sh
@@
-3,20
+3,15
@@
set -euo pipefail
test -n "$CC"
set -euo pipefail
test -n "$CC"
-export CFLAGS="${CFLAGS:-} -Werror"
result=0
check_warnings() {
git clean -dfx
result=0
check_warnings() {
git clean -dfx
-
- autoreconf -fsi
- # shellcheck disable=SC2046
- ./configure $(sh .ci/conf.sh)
- make -j"$(nproc)" all extra || result=$?
+ ./.ci/build.sh build -Dwerror=true "$@" || result=$?
}
check_warnings
}
check_warnings
-check_warnings -
-disable-legacy-protocol
+check_warnings -
Dcrypto=nolegacy
exit $result
exit $result