aboutsummaryrefslogtreecommitdiff
path: root/lib/libgloss.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2003-03-17 02:25:05 +0000
committerRob Savoye <rob@welcomehome.org>2003-03-17 02:25:05 +0000
commit4306dace39d6628ca4105c672b1497c3c75ee745 (patch)
treef5a8e016dc94c65d51f49b16cfeb7ccf44f353fe /lib/libgloss.exp
parentfcec39f2fe9f5a28065086273464e7a589194969 (diff)
downloaddejagnu-4306dace39d6628ca4105c672b1497c3c75ee745.zip
dejagnu-4306dace39d6628ca4105c672b1497c3c75ee745.tar.gz
dejagnu-4306dace39d6628ca4105c672b1497c3c75ee745.tar.bz2
2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
* lib/unix.exp: Preservce the value of LD_LIBRARY_PATH, rather than stomp on it. This is based on a patch from Brendan Conoboy <blc@redhat.com>. * Most files: Update copyright dates. 2003-03-13 Mike Stump <mrs@apple.com> * lib/dg.exp(dg-test): Add compiler flags to testcase name, to help ensure uniqueness. 2003-03-05 Alexandre Oliva <aoliva@redhat.com> * lib/remote.exp (standard_download, standard_upload): Support nfsdir and nfsroot_server. 2001-11-12 Andrew Cagney <ac131313@redhat.com> * lib/remote.exp (local_exec, standard_close): Use SHELL background instead of tcl background to background the kill processes. Work around problem found by Nick Duffek in older CYGWINs. (migrated from Redhat's sources kind late, sorry)
Diffstat (limited to 'lib/libgloss.exp')
-rw-r--r--lib/libgloss.exp18
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/libgloss.exp b/lib/libgloss.exp
index c2957c2..9497f0d 100644
--- a/lib/libgloss.exp
+++ b/lib/libgloss.exp
@@ -1,6 +1,5 @@
-# Copyright (C) 1992 - 2001, 2002
-# Free Software Foundation, Inc.
-
+# Copyright (C) 1992 - 2002, 2003 Free Software Foundation, Inc.
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +17,8 @@
# Please email any bugs, comments, and/or additions to this file to:
# bug-dejagnu@prep.ai.mit.edu
-# This file was written by Rob Savoye. (rob@cygnus.com) (now rob@welcomehome.org)
+# This file was written by Rob Savoye. (rob@cygnus.com)
+# (now rob@welcomehome.org)
# this contains a list of gcc options and their respective directories.
@@ -433,10 +433,14 @@ proc get_multilibs { args } {
return "";
}
- if { [board_info $target_board exists multilib_flags] } {
- set mopts [board_info $target_board multilib_flags];
+ if { [llength $args] > 0 } {
+ set mopts [lindex $args 0];
} else {
- set mopts ""
+ if { [board_info $target_board exists multilib_flags] } {
+ set mopts [board_info $target_board multilib_flags];
+ } else {
+ set mopts ""
+ }
}
set default_multilib [exec $compiler --print-multi-lib]