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

Thomas Schwinge thomas@codesourcery.com
Mon Oct 20 09:47:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141020/5f1c5941/attachment.sig>


More information about the Gcc-patches mailing list