]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Handle another case of Qt's `moc`.
[blhc/blhc.git] / bin / blhc
index d5af8a01983d8f24241b44b596075b6646dea055..dc71cc1c940d1130660dd9574ba27aa7c72e6bb1 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -863,7 +863,7 @@ foreach my $file (@ARGV) {
             # C++ files. No hardening flags are relevant during this step,
             # thus ignore `moc-qt*` lines. The resulting files will be
             # compiled in a separate step (and therefore checked).
-            next if $line =~ m{^\S+/bin/moc-qt[45]
+            next if $line =~ m{^\S+/bin/moc(?:-qt[45])?
                                \s.+\s
                                -I\S+/mkspecs/[a-z]+-g\++(?:-64)?
                                \s}x;