From 72c665969348d8e57ca8b4f39f7fffbc5f0a0d46 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 20 Jan 2009 00:59:24 +0000 Subject: darwin.h: Add static-libgfortran to LINK_SPEC. 2009-01-19 Iain Sandoe 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 --- libgomp/testsuite/lib/libgomp.exp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgomp/testsuite/lib') 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}" -- cgit v1.1