Well, why is it unsafe? I'm not too concerned about crossbuilding TBH. Are you 
sure this isn't still needed on eg FreeBSD?

-------- Original message --------
From: Romain Naour <romain.na...@openwide.fr> 
Date:10/01/2015  14:12  (GMT+00:00) 
To: nicholas.marri...@gmail.com 
Cc: tmux-us...@lists.sf.net 
Subject: Re: [PATCH] Makefile.am: remove unsafe headers path 

Hi,

Le 29/12/2014 22:35, Romain Naour a écrit :
> /usr/local/include is probably not needed and it's unsafe for
> cross-compilation.
> 
> Signed-off-by: Romain Naour <romain.na...@openwide.fr>
> ---
>  Makefile.am | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index a9ad5b9..0109e5d 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -38,12 +38,12 @@ else
>  CFLAGS += -O2
>  endif
>  if IS_GCC4
> -CPPFLAGS += -iquote. -I/usr/local/include
> +CPPFLAGS += -iquote.
>  if IS_DEBUG
>  CFLAGS += -Wno-pointer-sign
>  endif
>  else
> -CPPFLAGS += -I. -I- -I/usr/local/include
> +CPPFLAGS += -I. -I-
>  endif
>  endif
>  
> 

Please, consider this patch for the next release.

Thanks.

Best regards,
Romain Naour
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to