r18296: this isn't needed anymore
authorStefan Metzmacher <metze@samba.org>
Sat, 9 Sep 2006 09:08:29 +0000 (09:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:03 +0000 (14:18 -0500)
metze
(This used to be commit 1ee1007597a8bc20a54516264312642bc7de0483)

source4/script/cflags.pl

index f98ed9f6111e9d8394bb539e74ca2e8717cc80e0..7f435d46f5f3119a29937ec48559a74e39d90541 100755 (executable)
@@ -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 "$_ ";