From d0a57b61c1fa5654118b7217df27f390b850f687 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 28 Nov 2023 15:41:52 +0100 Subject: [PATCH] Force configuration with clang for IWYU runs This reduces the noise caused by incompatible attribute definitions between GCC/Clang. --- iwyu/run_iwyu.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/iwyu/run_iwyu.sh b/iwyu/run_iwyu.sh index 6139ebec8..8456240a9 100755 --- a/iwyu/run_iwyu.sh +++ b/iwyu/run_iwyu.sh @@ -10,5 +10,6 @@ IWYU=${IWYU:-iwyu} cd "$SOURCEDIR" || exit +./configure CC=clang CXX=clang++ --enable-silent-rules make clean make -k -s CC="$IWYU" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"