diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 09:34:53 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 09:34:53 +0000 |
commit | c55ef31513632905206387372b1ce4853751e3fd (patch) | |
tree | 1717f30856a7375d9a9ab158440da2bd1b7ecc2a /infrastructure/makebuildenv.pl.in | |
parent | 690087a61fe64b092054e1bca3fc185c65e6c358 (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.
Diffstat (limited to 'infrastructure/makebuildenv.pl.in')
-rwxr-xr-x | infrastructure/makebuildenv.pl.in | 3 |
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 |