lgtm.yml: disable Wformat-diag when building gcc

LGTM seems to provide GCC 9.2, for which the flag -Wformat-diag is falsely
detected as supported.

Change-Id: I95a5946d9c6cd2af73e85070973f855fba3fcc39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4786
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Jérôme Duval 2021-12-13 21:17:37 +01:00
parent 3896dbcb1d
commit d057f0aedd

View File

@ -9,7 +9,6 @@ extraction:
- texinfo
- flex
- bison
- g++
- gawk
- build-essential
- unzip
@ -30,7 +29,7 @@ extraction:
- cd $LGTM_WORKSPACE/buildtools/buildtools-master/jam && make && BINDIR=$LGTM_WORKSPACE/bin ./jam0 install
configure:
command:
- ./configure --cross-tools-source $LGTM_WORKSPACE/buildtools/buildtools-master --build-cross-tools x86_64 --use-gcc-pipe -j2
- acx_cv_prog_cc_warning__Werror_format_diag=no ./configure --cross-tools-source $LGTM_WORKSPACE/buildtools/buildtools-master --build-cross-tools x86_64 --use-gcc-pipe -j2
index:
build_command:
- HAIKU_REVISION=hrev90000 $LGTM_WORKSPACE/bin/jam -j2 @nightly-raw