+2007-12-03 Stephanie <slewis@apple.com>
+
+ Reviewed by Darin.
+
+ Check to see if we are building a debug root
+
+ * Scripts/check-for-global-initializers:
+
2007-12-03 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
my $target = $ENV{'TARGET_NAME'};
my $variant = $ENV{'CURRENT_VARIANT'};
my $coverageBuild = $ENV{'WEBKIT_COVERAGE_BUILD'};
+my $debugRoot = $ENV{'WEBKIT_DEBUG_ROOT'};
$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
$shortName =~ s/.*\///;
# Special cases for files that have initializers in debug builds.
- if ($configuration eq "Debug") {
+ if ($configuration eq "Debug" or $debugRoot ) {
if ($target eq "JavaScriptCore") {
next if $shortName eq "nodes.o";
next if $shortName eq "AllInOneFile.o";