]> git.sesse.net Git - vlc/blobdiff - extras/buildsystem/make.pl
Fix memleaks: Fill in the destructor of simple preference.
[vlc] / extras / buildsystem / make.pl
index 33e21ce22f1de188228e36d5623b0321132c95ad..47e4200a9fdce650a183a30d60a0cd6cd2736b97 100755 (executable)
@@ -36,17 +36,25 @@ while(<STDIN>)
         $line =~ /^touch.*/ ||
         $line =~ /^srcdir=.*/ ||
         $line =~ /^.* (lib[A-z0-9-_]*plugin.so).*/ ||
-       $line =~ /^\s*gcc\s-std=.*/ ||
-        $line =~ /^\sgcc\s-mmacosx.*/ ||
-        $line =~ /^\sg\+\+\s.*/ ||
+       $line =~ /^\s*gcc(-.*)?\s-std=.*/ ||
+        $line =~ /^\sgcc(-.*)?\s-mmacosx.*/ ||
+        $line =~ /^\sg\+\+(-.*)?\s.*/ ||
 #    $line =~ /^.*moc.*/ ||
        $line =~ /^.*libtool.*\-o\s(lib.*\.la).*/ ||
         $line =~ /^.*rm\s\-f\s(.*)/ ||
        $line =~ /^rm\s-fr\s(.*)/ ||
        $line =~ /^mv\s-f\s(.*)/ ||
        $line =~ /^ln\s-s\s(.*)/ ||
+       $line =~ /^echo\s/ ||
+       $line =~ /^mkdir\s/ ||
+       $line =~ /^cat\s/ ||
+       $line =~ /^grep\s/ ||
+       $line =~ /^cd\s/ ||
+       $line =~ /^sed\s/ ||
+       $line =~ /^bindir=\s/ ||
+       $line =~ /^libtool:\s/ ||
        $line =~ /^creating lib.*/ ||
-        $line =~ /^\// )
+        $line =~ /^\s*\// )
      {}
      # Info
      elsif(