mirror of git://gcc.gnu.org/git/gcc.git
libffi-dg.exp: Make the -lgcc_s conditional.
2003-11-20 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional. From-SVN: r73763
This commit is contained in:
parent
a72d4945d3
commit
9e6c3ecb96
|
@ -1,3 +1,7 @@
|
||||||
|
2003-11-20 Andreas Tobler <a.tobler@schweiz.ch>
|
||||||
|
|
||||||
|
* testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.
|
||||||
|
|
||||||
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
|
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
|
||||||
|
|
||||||
* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
|
* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
|
||||||
|
|
|
@ -164,7 +164,12 @@ proc libffi_target_compile { source dest type options } {
|
||||||
# search for ffi_mips.h in srcdir, too
|
# search for ffi_mips.h in srcdir, too
|
||||||
lappend options "additional_flags=-I${libffi_include} -I${srcdir}/../include"
|
lappend options "additional_flags=-I${libffi_include} -I${srcdir}/../include"
|
||||||
lappend options "additional_flags=${libffi_link_flags}"
|
lappend options "additional_flags=${libffi_link_flags}"
|
||||||
lappend options "libs= -lffi -lgcc_s"
|
|
||||||
|
if { [string match "powerpc-*-darwin*" $target_triplet] } {
|
||||||
|
lappend options "libs= -lgcc_s"
|
||||||
|
}
|
||||||
|
|
||||||
|
lappend options "libs= -lffi"
|
||||||
|
|
||||||
verbose "options: $options"
|
verbose "options: $options"
|
||||||
return [target_compile $source $dest $type $options]
|
return [target_compile $source $dest $type $options]
|
||||||
|
|
Loading…
Reference in New Issue