diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-11-28 15:41:52 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-12-26 15:14:19 +0100 |
commit | d0a57b61c1fa5654118b7217df27f390b850f687 (patch) | |
tree | 8633605710cf3ff0a24cb00b70861b7cfc78c686 /iwyu | |
parent | 2aacbf84cb397e17e677b7e46cc4548ab599493a (diff) |
Force configuration with clang for IWYU runs
This reduces the noise caused by incompatible attribute definitions between GCC/Clang.
Diffstat (limited to 'iwyu')
-rwxr-xr-x | iwyu/run_iwyu.sh | 1 |
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" |