X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;fp=bin%2Fblhc;h=b6889ae3ca51162e50d5c93f321d18235dc46a0a;hp=ba27c55dd08ce6abf0038b239e81204dad01dd18;hb=21f2f49049ef599e6d7116c815e5974b2fcdd505;hpb=88f15389b533468857f01490368376b539a598b3 diff --git a/bin/blhc b/bin/blhc index ba27c55..b6889ae 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1081,6 +1081,8 @@ foreach my $file (@ARGV) { \s.+\s -I\S+/mkspecs/[a-z]+-g\++(?:-64)? \s}x; + # nvcc is not a regular C compiler + next if $line =~ m{^\S+/bin/nvcc\s}; # Ignore false positives when the line contains only CC=gcc but no # other gcc command. if ($line =~ /(.*)CC=$cc_regex_full(.*)/o) {