libffi-dg.exp (libffi_target_compile): Search in srcdir for ffi_mips.h.

* testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
	srcdir for ffi_mips.h.

From-SVN: r71469
This commit is contained in:
Rainer Orth 2003-09-17 17:59:15 +00:00 committed by Rainer Orth
parent 44f8f96af4
commit eb26c76c64
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
srcdir for ffi_mips.h.
2003-09-12 Alan Modra <amodra@bigpond.net.au>
* src/prep_cif.c (initialize_aggregate): Include tail padding in

View File

@ -156,7 +156,8 @@ proc libffi_target_compile { source dest type options } {
lappend options [concat "additional_flags=$TOOL_OPTIONS" $options];
}
lappend options "additional_flags=-I${libffi_include}"
# 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"
verbose "options: $options"