From bb21503c431e7a006125b1573f81e88c28707153 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 9 Sep 2006 09:08:29 +0000 Subject: r18296: this isn't needed anymore metze (This used to be commit 1ee1007597a8bc20a54516264312642bc7de0483) --- source4/script/cflags.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source4/script/cflags.pl b/source4/script/cflags.pl index f98ed9f6111..7f435d46f5f 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 ( =~ /^([^:]+): (.*)$/) { - next unless (grep(/^$target$/, (split / /, $1)) || - grep(/^$target2$/, (split / /, $1))); + while ( =~ /^([^:]+): (.*)$/) { + next unless (grep(/^$target$/, (split / /, $1))); $_ = $2; s/^CFLAGS\+=//; print "$_ "; -- cgit