summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-11-28 15:41:52 +0100
committerBenBE <BenBE@geshi.org>2023-12-26 15:14:19 +0100
commitd0a57b61c1fa5654118b7217df27f390b850f687 (patch)
tree8633605710cf3ff0a24cb00b70861b7cfc78c686
parent2aacbf84cb397e17e677b7e46cc4548ab599493a (diff)
Force configuration with clang for IWYU runs
This reduces the noise caused by incompatible attribute definitions between GCC/Clang.
-rwxr-xr-xiwyu/run_iwyu.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/iwyu/run_iwyu.sh b/iwyu/run_iwyu.sh
index 6139ebec..8456240a 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"

© 2014-2024 Faster IT GmbH | imprint | privacy policy