From: ro Date: Wed, 17 Sep 2003 17:59:15 +0000 (+0000) Subject: * testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in X-Git-Tag: upstream/4.9.2~76710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47fab6c399ba7bd12d5b69f2a3cf03b3b9ee3ca8;p=platform%2Fupstream%2Flinaro-gcc.git * 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 --- 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"