From 47fab6c399ba7bd12d5b69f2a3cf03b3b9ee3ca8 Mon Sep 17 00:00:00 2001 From: ro Date: Wed, 17 Sep 2003 17:59:15 +0000 Subject: [PATCH] * 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 --- libffi/ChangeLog | 5 +++++ libffi/testsuite/lib/libffi-dg.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 15f9c6d..419f88c 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2003-09-17 Rainer Orth + + * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in + srcdir for ffi_mips.h. + 2003-09-12 Alan Modra * src/prep_cif.c (initialize_aggregate): Include tail padding in diff --git a/libffi/testsuite/lib/libffi-dg.exp b/libffi/testsuite/lib/libffi-dg.exp index 2ecd5e8..c7cae62 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" -- 2.7.4