svn commit: samba r18296 - in branches/SAMBA_4_0/source/script: .

metze at samba.org metze at samba.org
Sat Sep 9 09:08:30 GMT 2006


Author: metze
Date: 2006-09-09 09:08:29 +0000 (Sat, 09 Sep 2006)
New Revision: 18296

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18296

Log:
this isn't needed anymore

metze
Modified:
   branches/SAMBA_4_0/source/script/cflags.pl


Changeset:
Modified: branches/SAMBA_4_0/source/script/cflags.pl
===================================================================
--- branches/SAMBA_4_0/source/script/cflags.pl	2006-09-09 09:06:20 UTC (rev 18295)
+++ branches/SAMBA_4_0/source/script/cflags.pl	2006-09-09 09:08:29 UTC (rev 18296)
@@ -7,15 +7,13 @@
 use strict;
 
 my $target = shift;
-my $target2 = "./$target";
 
 sub check_flags($)
 {
-    my ($name)=@_;
+	my ($name)=@_;
 	open (IN, "extra_cflags.txt");
-    while (<IN> =~ /^([^:]+): (.*)$/) {
-		next unless (grep(/^$target$/, (split / /, $1)) ||
-			     grep(/^$target2$/, (split / /, $1)));
+	while (<IN> =~ /^([^:]+): (.*)$/) {
+		next unless (grep(/^$target$/, (split / /, $1)));
 		$_ = $2;
 		s/^CFLAGS\+=//;
 		print "$_ ";



More information about the samba-cvs mailing list