mirror of git://gcc.gnu.org/git/gcc.git
libjava.exp: Add the wrapper link options only when we're linking.
2002-03-27 Anthony Green <green@redhat.com> * lib/libjava.exp: Add the wrapper link options only when we're linking. From-SVN: r51451
This commit is contained in:
parent
6dad5a5631
commit
30cc872274
|
|
@ -1,3 +1,8 @@
|
|||
2002-03-27 Anthony Green <green@redhat.com>
|
||||
|
||||
* lib/libjava.exp: Add the wrapper link options only when we're
|
||||
linking.
|
||||
|
||||
2002-03-26 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
|
||||
|
|
|
|||
|
|
@ -296,14 +296,16 @@ proc libjava_arguments {{mode compile}} {
|
|||
global env
|
||||
set env(CLASSPATH) ".:$srcdir/$subdir:$objdir:$objdir/../libgcj.jar"
|
||||
|
||||
global wrapper_file wrap_compile_flags;
|
||||
lappend args "additional_flags=$wrap_compile_flags";
|
||||
lappend args "libs=$wrapper_file";
|
||||
lappend args "libs=$libjava";
|
||||
lappend args "libs=$libgc";
|
||||
lappend args "libs=$libqthreads"
|
||||
lappend args "libs=$libz"
|
||||
lappend args debug
|
||||
if {$mode == "link"} {
|
||||
global wrapper_file wrap_compile_flags;
|
||||
lappend args "additional_flags=$wrap_compile_flags";
|
||||
lappend args "libs=$wrapper_file";
|
||||
lappend args "libs=$libjava";
|
||||
lappend args "libs=$libgc";
|
||||
lappend args "libs=$libqthreads"
|
||||
lappend args "libs=$libz"
|
||||
lappend args debug
|
||||
}
|
||||
|
||||
if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } {
|
||||
lappend args "libs=${gluefile}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue