diff options
author | Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> | 2009-01-20 00:59:24 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2009-01-20 00:59:24 +0000 |
commit | 72c665969348d8e57ca8b4f39f7fffbc5f0a0d46 (patch) | |
tree | 0fe05fe529d09ee5c6892cc3701dbd37a3326bca /libgomp | |
parent | 6600206c4efd31e1a6034cab809c51d72a694163 (diff) | |
download | gcc-72c665969348d8e57ca8b4f39f7fffbc5f0a0d46.zip gcc-72c665969348d8e57ca8b4f39f7fffbc5f0a0d46.tar.gz gcc-72c665969348d8e57ca8b4f39f7fffbc5f0a0d46.tar.bz2 |
darwin.h: Add static-libgfortran to LINK_SPEC.
2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
gcc/
* config/darwin.h: Add static-libgfortran to LINK_SPEC.
gcc/testsuite/
* lib/gfortran.exp: Add -B options for targets that use
libgfortran.a%s in their specs.
libgomp/
* testsuite/lib/libgomp.exp: Add -B option for targets that
use libgfortran.a%s in their specs.
From-SVN: r143507
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 9428394..d23a233 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> + + * testsuite/lib/libgomp.exp: Add -B option for targets that + use libgfortran.a%s in their specs. + 2009-01-07 Jakub Jelinek <jakub@redhat.com> PR libgomp/38086 diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 4e2600e..972d4a1 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -171,6 +171,9 @@ proc libgomp_target_compile { source dest type options } { if { [info exists lang_test_file] } { if { $blddir != "" } { + # Some targets use libgfortran.a%s in their specs, so they need + # a -B option for uninstalled testing. + lappend options "additional_flags=-B${blddir}/${lang_library_path}" lappend options "ldflags=-L${blddir}/${lang_library_path}" } lappend options "ldflags=${lang_link_flags}" |