diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2003-11-19 05:55:32 +0100 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2003-11-19 05:55:32 +0100 |
commit | 70d8f2a1b2e415b7b0f16e7df99b7d601517810c (patch) | |
tree | 19c90506afca14181d46b602ed23822dd86c7e01 /libffi | |
parent | d6fcadb293cb886c70e31cf7e806e72c0a919ede (diff) | |
download | gcc-70d8f2a1b2e415b7b0f16e7df99b7d601517810c.zip gcc-70d8f2a1b2e415b7b0f16e7df99b7d601517810c.tar.gz gcc-70d8f2a1b2e415b7b0f16e7df99b7d601517810c.tar.bz2 |
libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
Add -lgcc_s to additional flags.
From-SVN: r73726
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 5 | ||||
-rw-r--r-- | libffi/testsuite/lib/libffi-dg.exp | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 593dc4c..45df2a8 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> + + * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin. + Add -lgcc_s to additional flags. + 2003-11-12 Andreas Tobler <a.tobler@schweiz.ch> * configure.in, include/Makefile.am: PR libgcj/11147, install diff --git a/libffi/testsuite/lib/libffi-dg.exp b/libffi/testsuite/lib/libffi-dg.exp index f8a3624..12ebb4b 100644 --- a/libffi/testsuite/lib/libffi-dg.exp +++ b/libffi/testsuite/lib/libffi-dg.exp @@ -17,6 +17,8 @@ load_lib dg.exp load_lib libgloss.exp + + # Define libffi callbacks for dg.exp. proc libffi-dg-test-1 { target_compile prog do_what extra_tool_flags } { @@ -134,6 +136,7 @@ proc libffi-init { args } { setenv LD_LIBRARYN32_PATH $ld_library_path setenv LD_LIBRARY64_PATH $ld_library_path setenv LD_LIBRARY_PATH_64 $ld_library_path + setenv DYLD_LIBRARY_PATH $ld_library_path } proc libffi_target_compile { source dest type options } { @@ -144,6 +147,7 @@ proc libffi_target_compile { source dest type options } { global ld_library_path global libffi_link_flags global libffi_include + global target_triplet if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } { @@ -160,7 +164,8 @@ proc libffi_target_compile { source dest type options } { # search for ffi_mips.h in srcdir, too lappend options "additional_flags=-I${libffi_include} -I${srcdir}/../include" lappend options "additional_flags=${libffi_link_flags}" - lappend options "libs= -lffi" + lappend options "libs= -lffi -lgcc_s" + verbose "options: $options" return [target_compile $source $dest $type $options] } @@ -255,4 +260,4 @@ if { [info procs saved-dg-test] == [list] } { # Local Variables: # tcl-indent-level:4 -# End:
\ No newline at end of file +# End: |