aboutsummaryrefslogtreecommitdiff
path: root/lib/target.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-05-17 04:39:23 +0000
committerRob Savoye <rob@welcomehome.org>2001-05-17 04:39:23 +0000
commit9c025ed5e2359ddd1c869645b254c1d27264be81 (patch)
tree17878a706e261fcaf5d7deb0dac62c78b63efa2f /lib/target.exp
parentf86515c4b7db350147a14758123c1578aa55211e (diff)
downloaddejagnu-9c025ed5e2359ddd1c869645b254c1d27264be81.zip
dejagnu-9c025ed5e2359ddd1c869645b254c1d27264be81.tar.gz
dejagnu-9c025ed5e2359ddd1c869645b254c1d27264be81.tar.bz2
Reverse the order of the ldflags again.
Diffstat (limited to 'lib/target.exp')
-rw-r--r--lib/target.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp
index 3eaf3b8..7a4b782 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -497,6 +497,7 @@ proc default_target_compile {source destfile type options} {
}
if { $type == "executable" } {
+ append add_flags " $ldflags"
foreach x $libs {
if [file exists $x] {
append source " $x"
@@ -504,7 +505,6 @@ proc default_target_compile {source destfile type options} {
append add_flags " $x";
}
}
- append add_flags " $ldflags"
if [board_info $dest exists libs] {
append add_flags " [board_info $dest libs]"