git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd4c8e
)
r18296: this isn't needed anymore
author
Stefan Metzmacher
<metze@samba.org>
Sat, 9 Sep 2006 09:08:29 +0000
(09:08 +0000)
committer
Gerald (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
patch
|
blob
|
history
diff --git
a/source4/script/cflags.pl
b/source4/script/cflags.pl
index f98ed9f6111e9d8394bb539e74ca2e8717cc80e0..7f435d46f5f3119a29937ec48559a74e39d90541 100755
(executable)
--- 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 "$_ ";