diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-09-17 17:59:15 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-09-17 17:59:15 +0000 |
commit | eb26c76c647b9ce601f44f1c1e714875dbf9c6f4 (patch) | |
tree | 4851888a4f4741dd0a380c550f1356467c4a0726 /libffi/testsuite | |
parent | 44f8f96af4c2b5a72e3e170111e601b70b3fa421 (diff) | |
download | gcc-eb26c76c647b9ce601f44f1c1e714875dbf9c6f4.tar.gz |
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
Diffstat (limited to 'libffi/testsuite')
-rw-r--r-- | libffi/testsuite/lib/libffi-dg.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libffi/testsuite/lib/libffi-dg.exp b/libffi/testsuite/lib/libffi-dg.exp index 2ecd5e88607..c7cae62b0b2 100644 --- a/libffi/testsuite/lib/libffi-dg.exp +++ b/libffi/testsuite/lib/libffi-dg.exp @@ -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" |