[Box Backup-commit] COMMIT r2163 - box/trunk/infrastructure
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Wed May 28 10:34:54 BST 2008
Author: chris
Date: 2008-05-28 10:34:53 +0100 (Wed, 28 May 2008)
New Revision: 2163
Modified:
box/trunk/infrastructure/makebuildenv.pl.in
Log:
Define Box module name on the compiler command line (useful for tests
self-reporting and setting logger tags).
Add the "c" option to "ar" to suppress warning messages about creating
archives.
Modified: box/trunk/infrastructure/makebuildenv.pl.in
===================================================================
--- box/trunk/infrastructure/makebuildenv.pl.in 2008-05-15 18:23:36 UTC (rev 2162)
+++ box/trunk/infrastructure/makebuildenv.pl.in 2008-05-28 09:34:53 UTC (rev 2163)
@@ -683,6 +683,7 @@
if ($is_cpp)
{
$make .= "\t\$(_CXX) \$(CXXFLAGS) $compile_line_extra ".
+ "-DBOX_MODULE=\"\\\"$mod\\\"\" " .
"-c $file -o $out_name\n\n";
}
elsif ($is_rc)
@@ -771,7 +772,7 @@
{
# make a library archive...
print MAKE "\t\$(HIDE) (echo -n > $end_target; rm $end_target)\n";
- print MAKE "\t\$(_AR) -q $end_target $o_file_list\n";
+ print MAKE "\t\$(_AR) cq $end_target $o_file_list\n";
print MAKE "\t\$(_RANLIB) $end_target\n";
}
else
More information about the Boxbackup-commit
mailing list