]> git.sesse.net Git - vlc/blobdiff - extras/buildsystem/make.pl
make.pl: matches gcc-xx and g++-xx
[vlc] / extras / buildsystem / make.pl
index d770d70d2852a92f3b069608b5e667d85e83e77e..47e4200a9fdce650a183a30d60a0cd6cd2736b97 100755 (executable)
@@ -36,9 +36,9 @@ 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(.*)/ ||