summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-05-28 09:34:53 +0000
committerChris Wilson <chris+github@qwirx.com>2008-05-28 09:34:53 +0000
commitc55ef31513632905206387372b1ce4853751e3fd (patch)
tree1717f30856a7375d9a9ab158440da2bd1b7ecc2a
parent690087a61fe64b092054e1bca3fc185c65e6c358 (diff)
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.
-rwxr-xr-xinfrastructure/makebuildenv.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index 456bd265..d8f22058 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -683,6 +683,7 @@ __E
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 @@ __E
{
# 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