Commit a6d2727f authored by darin's avatar darin
Browse files

Reviewed by Tim Hatcher.

        - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)

        * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ee44ccbc
2006-03-29 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
* Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2006-03-28 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
......
......@@ -39,11 +39,8 @@ my $configuration = $ENV{'CONFIGURATION'};
my $target = $ENV{'TARGET_NAME'};
my $variant = $ENV{'CURRENT_VARIANT'};
if (!$arch) {
print "Not checking for global initializers because CURRENT_ARCH is not defined.\n";
print "Probably means you have Xcode 2.1.\n";
exit;
}
$arch = $ENV{'NATIVE_ARCH'} if !$arch; # for Xcode 2.1, which does not have CURRENT_ARCH
$variant = "normal" if !$variant; # for Xcode 2.1, which does not have CURRENT_VARIANT
my $list = $ENV{"LINK_FILE_LIST_${variant}_${arch}"};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment