diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-09 09:08:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:03 -0500 |
commit | bb21503c431e7a006125b1573f81e88c28707153 (patch) | |
tree | 95e6cae00f526bc22d1e9f878c2508bbe7f4f737 /source4/script/cflags.pl | |
parent | dfd4c8e84de85152b6b31deff26382dc9991006d (diff) | |
download | samba-bb21503c431e7a006125b1573f81e88c28707153.tar.gz samba-bb21503c431e7a006125b1573f81e88c28707153.tar.xz samba-bb21503c431e7a006125b1573f81e88c28707153.zip |
r18296: this isn't needed anymore
metze
(This used to be commit 1ee1007597a8bc20a54516264312642bc7de0483)
Diffstat (limited to 'source4/script/cflags.pl')
-rwxr-xr-x | source4/script/cflags.pl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/script/cflags.pl b/source4/script/cflags.pl index f98ed9f611..7f435d46f5 100755 --- a/source4/script/cflags.pl +++ b/source4/script/cflags.pl @@ -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 "$_ "; |