From bdbd9b888651ce0b79c8ea9a9ce6a86ba59112ae Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 7 Sep 2006 14:24:18 +0000 Subject: r18223: the perl array of dependecies is in reversed order print out the CFLAGS in the correct order metze (This used to be commit 49b555b876493e4d05bd69328f9a4e0585aa8076) --- source4/build/smb_build/output.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index 9196f20636..6cae16e886 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -146,7 +146,7 @@ sub create_output($$) merge_array(\$part->{FINAL_CFLAGS}, $part->{CPPFLAGS}); merge_array(\$part->{FINAL_CFLAGS}, $part->{CFLAGS}); - foreach (@{$part->{UNIQUE_DEPENDENCIES_ALL}}) { + foreach (reverse @{$part->{UNIQUE_DEPENDENCIES_ALL}}) { my $elem = $depend->{$_}; next if $elem == $part; -- cgit