summaryrefslogtreecommitdiff
path: root/libffi/testsuite
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-17 17:59:15 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-17 17:59:15 +0000
commit47fab6c399ba7bd12d5b69f2a3cf03b3b9ee3ca8 (patch)
tree4851888a4f4741dd0a380c550f1356467c4a0726 /libffi/testsuite
parent90b808077ed36cb75b4910fedbc1f130af876667 (diff)
downloadgcc-47fab6c399ba7bd12d5b69f2a3cf03b3b9ee3ca8.tar.gz
* testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
srcdir for ffi_mips.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/testsuite')
-rw-r--r--libffi/testsuite/lib/libffi-dg.exp3
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"