X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Fcibuild.sh;fp=t%2Fcibuild.sh;h=48c56c7b4e7ee9190166713240170fa8c4f7cd21;hp=bb863c6f35d68383c2e765b66953fca5ebb8b608;hb=f11a5f519d0f9ba8c8a0a116fc046b5a1c3e804f;hpb=da760b7c730635befe5d3876641dd826f7abf9d3 diff --git a/t/cibuild.sh b/t/cibuild.sh index bb863c6..48c56c7 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -17,7 +17,10 @@ case "$CICFLAGS" in # skip regular tests ;; *) - make -j10 test TESTS_ENVIRONMENT="./testwrapper.sh" + # old versions of gcc and clang complain about { 0 } initializers + make -j10 test \ + TESTS_ENVIRONMENT="./testwrapper.sh" \ + CFLAGS="-O0 $CICFLAGS -Wno-missing-field-initializers" ;; esac