This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4] Fix include path configury for gomp-constants.h


Hi Julian!

On Fri, 17 Oct 2014 16:51:17 +0100, Julian Brown <julian@codesourcery.com> wrote:
> This patch tweaks the include path configury used by libgomp to find
> the gomp-constants.h header, as suggested by Jakub.
> 
> OK for the gomp4 branch?

Thanks, yes, with the following changed:

>     libgomp/
>     * Makefile.am (AM_CPPFLAGS): Fix search path for locating
>     gomp-constants.h.
>     * Makefile.in: Regenerate.

> --- a/libgomp/Makefile.am
> +++ b/libgomp/Makefile.am
> @@ -14,8 +14,7 @@ libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
>  
>  vpath % $(strip $(search_path))
>  
> -AM_CPPFLAGS = $(addprefix -I, $(search_path)) \
> -	$(addprefix -I, $(search_path)/../include)
> +AM_CPPFLAGS = $(addprefix -I, $(search_path)) -I $(top_srcdir)/../include

                                                   ^

No space here?


GrÃÃe,
 Thomas

Attachment: pgpSPuXpWD9aI.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]