aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-01-21 21:29:12 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-01-21 21:29:12 +0000
commite5f54c4567eb82b5468fcd2b2806954f28bd23b9 (patch)
treedbafcec7e893adf8f0a460805d9054ca5b8cd208 /gcc
parent85e79f96ed113455e0b36a7d8ca3259ed33307a6 (diff)
downloadgcc-e5f54c4567eb82b5468fcd2b2806954f28bd23b9.zip
gcc-e5f54c4567eb82b5468fcd2b2806954f28bd23b9.tar.gz
gcc-e5f54c4567eb82b5468fcd2b2806954f28bd23b9.tar.bz2
g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path. From-SVN: r49055
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/g77.exp7
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d806caf..9ada70f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
+ ld_library_path.
+
2002-01-21 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020218-1.c: New test.
diff --git a/gcc/testsuite/lib/g77.exp b/gcc/testsuite/lib/g77.exp
index 2a08f15..78a3384 100644
--- a/gcc/testsuite/lib/g77.exp
+++ b/gcc/testsuite/lib/g77.exp
@@ -1,4 +1,5 @@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002 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
@@ -83,9 +84,7 @@ proc g77_link_flags { paths } {
if { $gccpath != "" } {
if [file exists "${gccpath}/libf2c/.libs/libg2c.a"] {
append flags "-L${gccpath}/libf2c/.libs "
- if [file exists "${gccpath}/libf2c/.libs/libg2c.so"] {
- append ld_library_path ":${gccpath}/libf2c/.libs"
- }
+ append ld_library_path ":${gccpath}/libf2c/.libs"
}
if [file exists "${gccpath}/libf2c/libfrtbegin.a"] {
append flags "-L${gccpath}/libf2c "