X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;fp=bin%2Fblhc;h=26826f07a0abe87740087d16b1a3b63e8233b59f;hp=2e48bbc063c6bc466ee6c6ceaae4eba42929e9b4;hb=766e4499437c6e872cc5870a821c4d10d2d8a63b;hpb=1368fa468fd4e62ebdb4efa40efb5c19e39bacd7 diff --git a/bin/blhc b/bin/blhc index 2e48bbc..26826f0 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1124,7 +1124,7 @@ foreach my $file (@ARGV) { # 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}; + next if $line =~ m{^\s*/usr/(bin|lib)/(ccache/)?c\+\+ (?:-std=\S+ )?-dM -E -c /usr/share/cmake-\S+/Modules/CMakeCXXCompilerABI\.cpp}; # Some rustc lines look like linker commands next if $cargo and $line =~ /$rustc_regex/o;