From d057f0aedd2df1d108b817b20aa817ee9fc11db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 13 Dec 2021 21:17:37 +0100 Subject: [PATCH] lgtm.yml: disable Wformat-diag when building gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lgtm.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lgtm.yml b/lgtm.yml index 2c94567ce8..1e71806bb6 100644 --- a/lgtm.yml +++ b/lgtm.yml @@ -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