mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-09 22:47:48 +00:00
qa.sh: Start using -Werror
.. in a way that does not break existing configure checks (e.g. the one for memmove)
This commit is contained in:
parent
47135a3cca
commit
9add0e11d4
1 changed files with 8 additions and 2 deletions
10
expat/qa.sh
10
expat/qa.sh
|
@ -88,13 +88,19 @@ main() {
|
|||
LD="${LD}" \
|
||||
./configure "$@"
|
||||
|
||||
RUN "${MAKE}" clean all
|
||||
RUN "${MAKE}" \
|
||||
CFLAGS="${CFLAGS} -Werror" \
|
||||
CXXFLAGS="${CXXFLAGS} -Werror" \
|
||||
clean all
|
||||
|
||||
case "${mode}" in
|
||||
egypt|ncc)
|
||||
;;
|
||||
*)
|
||||
RUN "${MAKE}" check run-xmltest
|
||||
RUN "${MAKE}" \
|
||||
CFLAGS="${CFLAGS} -Werror" \
|
||||
CXXFLAGS="${CXXFLAGS} -Werror" \
|
||||
check run-xmltest
|
||||
;;
|
||||
esac
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue