[vlc-devel] commit: make.pl: matches gcc-xx and g++-xx ( Rafaël Carré )

git version control git at videolan.org
Wed May 21 20:44:49 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed May 21 20:37:19 2008 +0200| [0d683192fe0cb77bb721ecb68d3ddfc14c7702a9]

make.pl: matches gcc-xx and g++-xx

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d683192fe0cb77bb721ecb68d3ddfc14c7702a9
---

 extras/buildsystem/make.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extras/buildsystem/make.pl b/extras/buildsystem/make.pl
index d770d70..47e4200 100755
--- a/extras/buildsystem/make.pl
+++ b/extras/buildsystem/make.pl
@@ -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(.*)/ ||




More information about the vlc-devel mailing list