X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;fp=bin%2Fblhc;h=8606368f9f34e112582c4fe3a7a4ef02477b794d;hp=b4fbbdacb1eed2492e3c6bb8607ad381671b9175;hb=32513c3cf648aab94fb011e488a79bb38c2fafd1;hpb=c1ba00b91a92dec61cf0d2ef9f5925a6165b2a7a diff --git a/bin/blhc b/bin/blhc index b4fbbda..8606368 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1087,6 +1087,8 @@ foreach my $file (@ARGV) { next if $line =~ /^C\+\+ linker for the host machine: /; # Embedded `gcc -print-*` commands next if $line =~ /`$cc_regex_normal\s*[^`]*-print-\S+`/; + # cmake checking for compiler flags without setting CPPFLAGS + next if $line =~ m{^\s*/usr/(bin|lib)/(ccache/)?c\+\+ -dM -E -c /usr/share/cmake-\S+/Modules/CMakeCXXCompilerABI\.cpp}; # Check if additional hardening options were used. Used to ensure # they are used for the complete build.